av1parser: Don't print warning for expected OBU drop

Dropping an OBU which is not in selected operation point is an
expected condition.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3430>
This commit is contained in:
Seungha Yang 2022-11-18 01:43:26 +09:00 committed by GStreamer Marge Bot
parent 3ef2955c7d
commit 55ca832d70

View file

@ -799,8 +799,7 @@ gst_av1_parser_identify_one_obu (GstAV1Parser * parser, const guint8 * data,
if (obu_length == 0) {
/* An empty obu? let continue to the next */
ret = GST_AV1_PARSER_DROP;
goto error;
return GST_AV1_PARSER_DROP;
}
}
@ -881,8 +880,7 @@ gst_av1_parser_identify_one_obu (GstAV1Parser * parser, const guint8 * data,
(parser->state.operating_point_idc >> (obu->header.obu_spatial_id +
8)) & 1;
if (!inTemporalLayer || !inSpatialLayer) {
ret = GST_AV1_PARSER_DROP;
goto error;
return GST_AV1_PARSER_DROP;
}
}