Commit 8a9be8a8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/XVideo: match RGBT

parent 9713c02a
...@@ -158,6 +158,8 @@ static vlc_fourcc_t ParseFormat (vout_display_t *vd, ...@@ -158,6 +158,8 @@ static vlc_fourcc_t ParseFormat (vout_display_t *vd,
return VLC_CODEC_RGB16; return VLC_CODEC_RGB16;
break; break;
case 15: case 15:
if (f->bpp == 16 && f->depth == 16)
return VLC_CODEC_RGBT;
if (f->bpp == 16 && f->depth == 15) if (f->bpp == 16 && f->depth == 15)
return VLC_CODEC_RGB15; return VLC_CODEC_RGB15;
break; break;
......
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