CVS: main/libvo vo_x11.c,1.106,1.107
Update of /cvsroot/mplayer/main/libvo In directory mail:/var/tmp.root/cvs-serv12448 Modified Files: vo_x11.c Log Message: disable bgr8 Index: vo_x11.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_x11.c,v retrieving revision 1.106 retrieving revision 1.107 diff -u -r1.106 -r1.107 --- vo_x11.c 12 May 2002 20:48:17 -0000 1.106 +++ vo_x11.c 13 May 2002 20:56:08 -0000 1.107 @@ -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
participants (1)
-
Alex Beregszaszi