Commit 2d4752cd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/screen: fix 32-bits screen capture format

parent 15cb452e
...@@ -522,7 +522,7 @@ static es_out_id_t *InitES (demux_t *demux, uint_fast16_t width, ...@@ -522,7 +522,7 @@ static es_out_id_t *InitES (demux_t *demux, uint_fast16_t width,
{ {
case 32: case 32:
if (fmt->bits_per_pixel == 32) if (fmt->bits_per_pixel == 32)
chroma = VLC_CODEC_RGBA; chroma = VLC_CODEC_ARGB;
break; break;
case 24: case 24:
if (fmt->bits_per_pixel == 32) if (fmt->bits_per_pixel == 32)
......
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