# HG changeset patch # User alex # Date 1021323368 0 # Node ID 2cac91e697f1173c13212e88f17a33def7dc12f2 # Parent 5929fcf6c672bedeebfdc4feb51e26f9e75a6714 disable bgr8 diff -r 5929fcf6c672 -r 2cac91e697f1 libvo/vo_x11.c --- 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