mirror of
https://github.com/mpv-player/mpv
synced 2025-01-30 19:52:14 +00:00
Do not set VFCAP_EOSD_UNSCALED if we use scaled-osd
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23153 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c67220c86f
commit
e9d5b5de07
@ -792,7 +792,7 @@ query_format(uint32_t format)
|
||||
VFCAP_FLIP |
|
||||
VFCAP_HWSCALE_UP | VFCAP_HWSCALE_DOWN | VFCAP_ACCEPT_STRIDE;
|
||||
if (use_osd)
|
||||
caps |= VFCAP_OSD | VFCAP_EOSD | VFCAP_EOSD_UNSCALED;
|
||||
caps |= VFCAP_OSD | VFCAP_EOSD | (scaled_osd ? 0 : VFCAP_EOSD_UNSCALED);
|
||||
if ((format == IMGFMT_RGB24) || (format == IMGFMT_RGBA))
|
||||
return caps;
|
||||
if (use_yuv && format == IMGFMT_YV12)
|
||||
|
Loading…
Reference in New Issue
Block a user