diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-13 20:56:08 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-13 20:56:08 +0000 |
commit | 8e929ea0a852450d4803bb2a1bc96926bb5fa53d (patch) | |
tree | 88b30e6fbb349a2ce62e77ba70fec0bd954bc10f /libvo | |
parent | e3655117912b3ee09e9fadd23f0723a143304eb3 (diff) |
disable bgr8
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6081 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_x11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index bf0e07ed85..7031cefcef 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -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 |