mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
more correct flags
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7714 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e176bc9a57
commit
4da2217f71
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user