Mercurial > mplayer.hg
changeset 6080:2cac91e697f1
disable bgr8
author | alex |
---|---|
date | Mon, 13 May 2002 20:56:08 +0000 |
parents | 5929fcf6c672 |
children | 47d6a4b0f971 |
files | libvo/vo_x11.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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