mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Fix VC-1 decoding, it does not require any specific parser.
This commit is contained in:
parent
ffb74abe0f
commit
dbe1d622ef
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue