diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-11 14:48:07 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-11 14:48:07 +0000 |
commit | 4da2217f710acf12cbb0a7cdea93331c6162e7d9 (patch) | |
tree | 821ae7cc26f641d78b89fc848d909cacc4a74fc4 /libvo/vo_directx.c | |
parent | e176bc9a57673b98633760185509a9abdec0fc33 (diff) | |
download | mpv-4da2217f710acf12cbb0a7cdea93331c6162e7d9.tar.bz2 mpv-4da2217f710acf12cbb0a7cdea93331c6162e7d9.tar.xz |
more correct flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7714 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r-- | libvo/vo_directx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c index fcc835aca2..b83a976369 100644 --- a/libvo/vo_directx.c +++ b/libvo/vo_directx.c @@ -249,7 +249,7 @@ static uint32_t Directx_CreateOverlay(uint32_t imgfmt) 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 @@ static uint32_t Directx_CheckPrimaryPixelformat() 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++; } } |