mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +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:
|
case GST_VC1_END_OF_SEQ:
|
||||||
status = decode_sequence_end(decoder);
|
status = decode_sequence_end(decoder);
|
||||||
break;
|
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:
|
default:
|
||||||
GST_WARNING("unsupported BDU type %d", ebdu->type);
|
GST_WARNING("unsupported BDU type %d", ebdu->type);
|
||||||
status = GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;
|
status = GST_VAAPI_DECODER_STATUS_ERROR_BITSTREAM_PARSER;
|
||||||
|
|
Loading…
Reference in a new issue