[vlc-commits] XCB/screen: fix 32-bits screen capture format
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:29:29 2013 +0200| [2d4752cd27471c462a72ac88f28af7afaab22db0] | committer: Rémi Denis-Courmont
XCB/screen: fix 32-bits screen capture format
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d4752cd27471c462a72ac88f28af7afaab22db0
---
modules/access/screen/xcb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/screen/xcb.c b/modules/access/screen/xcb.c
index 7045ce0..5ef4377 100644
--- a/modules/access/screen/xcb.c
+++ b/modules/access/screen/xcb.c
@@ -522,7 +522,7 @@ static es_out_id_t *InitES (demux_t *demux, uint_fast16_t width,
{
case 32:
if (fmt->bits_per_pixel == 32)
- chroma = VLC_CODEC_RGBA;
+ chroma = VLC_CODEC_ARGB;
break;
case 24:
if (fmt->bits_per_pixel == 32)
More information about the vlc-commits
mailing list