mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
VC1: decoder: Ignore VC1 user BDU's
Don't return error if the processed BDU is a user one, just ignore them. https://bugzilla.gnome.org/show_bug.cgi?id=741237 Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
This commit is contained in:
parent
aaf4165819
commit
481d6b1f25
1 changed files with 7 additions and 0 deletions
|
@ -1071,6 +1071,13 @@ decode_ebdu(GstVaapiDecoderVC1 *decoder, GstVC1BDU *ebdu)
|
|||
case GST_VC1_END_OF_SEQ:
|
||||
status = decode_sequence_end(decoder);
|
||||
break;
|
||||
case GST_VC1_FIELD_USER:
|
||||
case GST_VC1_FRAME_USER:
|
||||
case GST_VC1_ENTRY_POINT_USER:
|
||||
case GST_VC1_SEQUENCE_USER:
|
||||
/* Let's just ignore them */
|
||||
status = GST_VAAPI_DECODER_STATUS_SUCCESS;
|
||||
break;
|
||||
default:
|
||||
GST_WARNING("unsupported BDU type %d", ebdu->type);
|
||||
status = GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;
|
||||
|
|
Loading…
Reference in a new issue