mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
3ef2955c7d
commit
55ca832d70
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue