Commit 9f75d4ac authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/XVideo: fix 32-bits RGB support

parent 46db6c43
...@@ -147,7 +147,7 @@ static vlc_fourcc_t ParseFormat (vlc_object_t *obj, ...@@ -147,7 +147,7 @@ static vlc_fourcc_t ParseFormat (vlc_object_t *obj,
{ {
case 24: case 24:
if (f->bpp == 32 && f->depth == 32) if (f->bpp == 32 && f->depth == 32)
return VLC_CODEC_RGBA; return VLC_CODEC_ARGB;
if (f->bpp == 32 && f->depth == 24) if (f->bpp == 32 && f->depth == 24)
return VLC_CODEC_RGB32; return VLC_CODEC_RGB32;
if (f->bpp == 24 && f->depth == 24) if (f->bpp == 24 && f->depth == 24)
......
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