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:
Sebastian Dröge 2023-02-06 15:26:48 +02:00 committed by GStreamer Marge Bot
parent 5486ed24a5
commit 5119ca25e4

View file

@ -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)