Fix VC-1 decoding, it does not require any specific parser.

This commit is contained in:
gb 2010-05-03 15:35:22 +00:00 committed by Gwenole Beauchesne
parent ffb74abe0f
commit dbe1d622ef

View 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;