]> git.sesse.net Git - vlc/commitdiff
XCB/XVideo: ignore ARGB picture format
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 23 Dec 2009 12:55:28 +0000 (14:55 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 23 Dec 2009 12:55:28 +0000 (14:55 +0200)
modules/video_output/xcb/xvideo.c

index aae1bf4d77f8ab7e7febec9b8835637c799b0451..83910a46a4cbeca40a7c973be9085205cbac64e2 100644 (file)
@@ -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)