mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
av1parse: Only check the TU bound when the alignment is TU.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3182>
This commit is contained in:
parent
ee5d7ce075
commit
a1f352196f
1 changed files with 7 additions and 2 deletions
|
@ -1736,8 +1736,13 @@ again:
|
|||
break;
|
||||
|
||||
check_new_tu = FALSE;
|
||||
res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete,
|
||||
&check_new_tu);
|
||||
if (self->align == GST_AV1_PARSE_ALIGN_TEMPORAL_UNIT
|
||||
|| self->align == GST_AV1_PARSE_ALIGN_TEMPORAL_UNIT_ANNEX_B) {
|
||||
res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete,
|
||||
&check_new_tu);
|
||||
} else {
|
||||
res = gst_av1_parse_handle_one_obu (self, &obu, &frame_complete, NULL);
|
||||
}
|
||||
if (res != GST_AV1_PARSER_OK)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue