[vlc-devel] commit: XCB/XVideo: ignore ARGB picture format ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Dec 23 13:55:50 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 23 14:55:28 2009 +0200| [43db2ff148439be1aec70febd64e1c0c5f26bc40] | committer: Rémi Denis-Courmont 

XCB/XVideo: ignore ARGB picture format

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

 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 aae1bf4..83910a4 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -147,6 +147,8 @@ static vlc_fourcc_t ParseFormat (vout_display_t *vd,
               case 32:
                 if (f->depth == 24)
                     return VLC_CODEC_RGB32;
+                if (f->depth == 32)
+                    return 0; /* ARGB -> VLC cannot do that currently */
                 break;
               case 24:
                 if (f->depth == 24)




More information about the vlc-devel mailing list