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>
if (obu_length == 0) {
/* An empty obu? let continue to the next */
- ret = GST_AV1_PARSER_DROP;
- goto error;
+ return GST_AV1_PARSER_DROP;
}
}
(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;
}
}