]> git.sesse.net Git - vlc/commitdiff
Add support for 2Vuy rawvideo. Patch from Ilkka Ollakka.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Jun 2007 18:24:15 +0000 (18:24 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Jun 2007 18:24:15 +0000 (18:24 +0000)
modules/codec/rawvideo.c

index f2f92d4ace30194d6aea1c71c2cf4ac01a6f94c5..696031398ea7922042ac2c938a6785d94fd9c85b 100644 (file)
@@ -107,7 +107,9 @@ static int OpenDecoder( vlc_object_t *p_this )
         case VLC_FOURCC('R','V','1','6'):
         case VLC_FOURCC('R','V','1','5'):
             break;
-
+        case VLC_FOURCC('2','V','u','y'):
+            p_dec->fmt_in.i_codec = VLC_FOURCC('U','Y','V','Y');
+            break;
         case VLC_FOURCC('y','v','1','2'):
             p_dec->fmt_in.i_codec = VLC_FOURCC('Y','V','1','2');
             break;