[vlc-commits] XCB/XVideo: fix 32-bits RGB support

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:13 2013 +0200| [9f75d4ac5b1344657cde15317823f0c0acfb995c] | committer: Rémi Denis-Courmont

XCB/XVideo: fix 32-bits RGB support

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

 modules/video_output/xcb/xvideo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 905c2e1..d7fe38a 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -147,7 +147,7 @@ static vlc_fourcc_t ParseFormat (vlc_object_t *obj,
             {
               case 24:
                 if (f->bpp == 32 && f->depth == 32)
-                    return VLC_CODEC_RGBA;
+                    return VLC_CODEC_ARGB;
                 if (f->bpp == 32 && f->depth == 24)
                     return VLC_CODEC_RGB32;
                 if (f->bpp == 24 && f->depth == 24)



More information about the vlc-commits mailing list