Mercurial > mplayer.hg
diff libvo/vo_x11.c @ 6080:2cac91e697f1
disable bgr8
author | alex |
---|---|
date | Mon, 13 May 2002 20:56:08 +0000 |
parents | 8460a0c0b44f |
children | 891cff8aba60 |
line wrap: on
line diff
--- a/libvo/vo_x11.c Mon May 13 20:52:10 2002 +0000 +++ b/libvo/vo_x11.c Mon May 13 20:56:08 2002 +0000 @@ -563,6 +563,8 @@ 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