[vlc-commits] XCB/XVideo: match RGBT

Rémi Denis-Courmont git at videolan.org
Wed May 18 22:06:35 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 18 23:06:08 2011 +0300| [8a9be8a8363216913ca1cf2dbc8a1d939e7526c3] | committer: Rémi Denis-Courmont

XCB/XVideo: match RGBT

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

 modules/video_output/xcb/xvideo.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 7428cb9..7d0041b 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -158,6 +158,8 @@ static vlc_fourcc_t ParseFormat (vout_display_t *vd,
                     return VLC_CODEC_RGB16;
                 break;
               case 15:
+                if (f->bpp == 16 && f->depth == 16)
+                    return VLC_CODEC_RGBT;
                 if (f->bpp == 16 && f->depth == 15)
                     return VLC_CODEC_RGB15;
                 break;



More information about the vlc-commits mailing list