mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
av1parser: Don't consider unknown metadata OBUs a bitstream error
Just don't parse them. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1774 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3898>
This commit is contained in:
parent
5486ed24a5
commit
5119ca25e4
1 changed files with 2 additions and 1 deletions
|
@ -1781,7 +1781,8 @@ gst_av1_parser_parse_metadata_obu (GstAV1Parser * parser, GstAV1OBU * obu,
|
||||||
&bit_reader, &(metadata->timecode));
|
&bit_reader, &(metadata->timecode));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return GST_AV1_PARSER_BITSTREAM_ERROR;
|
GST_WARNING ("Unknown metadata type %u", metadata->metadata_type);
|
||||||
|
return GST_AV1_PARSER_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (retval != GST_AV1_PARSER_OK)
|
if (retval != GST_AV1_PARSER_OK)
|
||||||
|
|
Loading…
Reference in a new issue