From 2e2bf09f3f55246dd65a0d479f9b4cc04d747b46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 1 May 2010 22:26:56 +0300 Subject: [PATCH] XCB/X11: disable ARGB support VLC does not currently handle color masks for ARGB chromas, so this can not work yet. Instead, fail safe to the GLX output. --- modules/video_output/xcb/x11.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c index 3255aabd77..8bc8a87d61 100644 --- a/modules/video_output/xcb/x11.c +++ b/modules/video_output/xcb/x11.c @@ -178,8 +178,13 @@ static int Open (vlc_object_t *obj) case 32: if (fmt->bits_per_pixel != 32) continue; +#ifdef FIXED_VLC_RGBA_MASK fmt_pic.i_chroma = VLC_CODEC_RGBA; break; +#else + msg_Dbg (vd, "X11 visual with alpha-channel not supported"); + continue; +#endif case 24: if (fmt->bits_per_pixel == 32) fmt_pic.i_chroma = VLC_CODEC_RGB32; -- 2.39.5