Fix VC-1 decoding, it does not require any specific parser.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 15:35:22 +0000 (15:35 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:43 +0000 (12:55 +0200)
gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c

index c161d09..a99ef5c 100644 (file)
@@ -345,6 +345,11 @@ gst_vaapi_decoder_ffmpeg_open(GstVaapiDecoderFfmpeg *ffdecoder, GstBuffer *buffe
         /* There is no WMV3 parser in FFmpeg */
         parser_is_needed = FALSE;
         break;
+    case CODEC_ID_VC1:
+        /* For VC-1, sequence headers ae in extradata and input encoded
+           buffers represent the whole slice */
+        parser_is_needed = FALSE;
+        break;
     default:
         parser_is_needed = TRUE;
         break;