From: gb Date: Mon, 3 May 2010 15:35:22 +0000 (+0000) Subject: Fix VC-1 decoding, it does not require any specific parser. X-Git-Tag: accepted/trunk/20120822.173359~465 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbe1d622ef8ad71edcb1e9e06d71ef37dcf99cf1;p=profile%2Fivi%2Fgstreamer-vaapi.git Fix VC-1 decoding, it does not require any specific parser. --- diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c b/gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c index c161d09..a99ef5c 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c @@ -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;