[vlc-commits] commit: XCB/X11: disable ARGB support ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Sat May 1 21:46:44 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 1 22:26:56 2010 +0300| [3f0369c64db131373c0acbc10d45c481a58d2802] | committer: 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 2e2bf09f3f55246dd65a0d479f9b4cc04d747b46)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=3f0369c64db131373c0acbc10d45c481a58d2802
---
modules/video_output/xcb/x11.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 3255aab..8bc8a87 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;
More information about the vlc-commits
mailing list