[vlc-commits] XCB/x11: fix rendering to 32-bits surface

Rémi Denis-Courmont git at videolan.org
Thu Nov 7 22:24:23 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov  5 22:31:00 2013 +0200| [46db6c435408119da88303b975a00f5fe7d8ce12] | committer: Rémi Denis-Courmont

XCB/x11: fix rendering to 32-bits surface

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46db6c435408119da88303b975a00f5fe7d8ce12
---

 modules/video_output/xcb/x11.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 7b0d373..b2e782e 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -147,13 +147,8 @@ 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;
+            fmt_pic.i_chroma = VLC_CODEC_ARGB;
             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