1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

disable bgr8

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6081 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-05-13 20:56:08 +00:00
parent e365511791
commit 8e929ea0a8

View File

@ -563,6 +563,8 @@ static uint32_t query_format( uint32_t format )
mp_msg(MSGT_VO,MSGL_DBG2,"vo_x11: query_format was called: %x (%s)\n",format,vo_format_name(format));
if (IMGFMT_IS_BGR(format))
{
if (IMGFMT_BGR_DEPTH(format) == 8)
return 0;
if (IMGFMT_BGR_DEPTH(format) == vo_depthonscreen)
return 3|VFCAP_OSD|VFCAP_SWSCALE|VFCAP_FLIP;
else