Commit 3f0369c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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.
(cherry picked from commit 2e2bf09f)
parent 6e691adc
...@@ -178,8 +178,13 @@ static int Open (vlc_object_t *obj) ...@@ -178,8 +178,13 @@ static int Open (vlc_object_t *obj)
case 32: case 32:
if (fmt->bits_per_pixel != 32) if (fmt->bits_per_pixel != 32)
continue; continue;
#ifdef FIXED_VLC_RGBA_MASK
fmt_pic.i_chroma = VLC_CODEC_RGBA; fmt_pic.i_chroma = VLC_CODEC_RGBA;
break; break;
#else
msg_Dbg (vd, "X11 visual with alpha-channel not supported");
continue;
#endif
case 24: case 24:
if (fmt->bits_per_pixel == 32) if (fmt->bits_per_pixel == 32)
fmt_pic.i_chroma = VLC_CODEC_RGB32; fmt_pic.i_chroma = VLC_CODEC_RGB32;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment