CVS: main/libvo vo_directx.c,1.3,1.4
Update of /cvsroot/mplayer/main/libvo In directory mail:/var/tmp.root/cvs-serv6311/libvo Modified Files: vo_directx.c Log Message: more correct flags Index: vo_directx.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- vo_directx.c 9 Oct 2002 19:03:17 -0000 1.3 +++ vo_directx.c 11 Oct 2002 14:48:07 -0000 1.4 @@ -249,7 +249,7 @@ case DDERR_INVALIDPARAMS: {mp_msg(MSGT_VO, MSGL_ERR,"invalid parameters\n");break;} case DDERR_INVALIDPIXELFORMAT: - {mp_msg(MSGT_VO, MSGL_ERR,"invalid pixelformat\n");break;} + {mp_msg(MSGT_VO, MSGL_ERR,"invalid pixelformat: %s\n",g_ddpf[i].img_format_name);break;} case DDERR_NODIRECTDRAWHW: {mp_msg(MSGT_VO, MSGL_ERR,"no directdraw hardware\n");break;} case DDERR_NOEMULATION: @@ -815,7 +815,7 @@ if (g_ddpf[i].g_ddpfOverlay.dwRBitMask == ddpf.dwRBitMask) { mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><FORMAT PRIMARY>%i %s supported\n",i,g_ddpf[i].img_format_name); - g_ddpf[i].drv_caps = VFCAP_CSP_SUPPORTED |VFCAP_OSD |VFCAP_CSP_SUPPORTED_BY_HW; + g_ddpf[i].drv_caps = VFCAP_CSP_SUPPORTED |VFCAP_OSD; formatcount++; } }
participants (1)
-
Sascha Sommer CVS