mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
av1parse: Reset the annex_b when meet TU inside a buffer.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1979>
This commit is contained in:
parent
d83f253258
commit
5abf4ad4dd
1 changed files with 3 additions and 0 deletions
|
@ -1330,6 +1330,9 @@ again:
|
||||||
" buffer, should not happen normally.",
|
" buffer, should not happen normally.",
|
||||||
gst_av1_parse_alignment_to_string (self->in_align));
|
gst_av1_parse_alignment_to_string (self->in_align));
|
||||||
frame_complete = TRUE;
|
frame_complete = TRUE;
|
||||||
|
if (self->in_align == GST_AV1_PARSE_ALIGN_TEMPORAL_UNIT_ANNEX_B)
|
||||||
|
gst_av1_parser_reset_annex_b (self->parser);
|
||||||
|
/* Not include this TD obu, it should belong to the next TU or frame */
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue