]> git.sesse.net Git - vlc/blobdiff - modules/video_output/xcb/x11.c
XCB/X11: disable ARGB support
[vlc] / modules / video_output / xcb / x11.c
index 3255aabd7785353e7a1e2577f414639c6f8e3b2f..8bc8a87d6122c982733e15ef213a884bd55c87b8 100644 (file)
@@ -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;