mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
av1parse: Add a comment when the detection of TU fails.
Also update the print message. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1863>
This commit is contained in:
parent
576b074dde
commit
2d624a1d6b
1 changed files with 3 additions and 1 deletions
|
@ -1971,9 +1971,11 @@ gst_av1_parse_handle_frame (GstBaseParse * parse,
|
||||||
GST_INFO_OBJECT (self, "Input alignment %s",
|
GST_INFO_OBJECT (self, "Input alignment %s",
|
||||||
gst_av1_parse_alignment_to_string (self->in_align));
|
gst_av1_parse_alignment_to_string (self->in_align));
|
||||||
} else {
|
} else {
|
||||||
|
/* Because the input is already TU aligned, we should skip
|
||||||
|
the whole problematic TU and check the next one. */
|
||||||
*skipsize = gst_buffer_get_size (frame->buffer);
|
*skipsize = gst_buffer_get_size (frame->buffer);
|
||||||
GST_WARNING_OBJECT (self, "Fail to detect the stream format for TU,"
|
GST_WARNING_OBJECT (self, "Fail to detect the stream format for TU,"
|
||||||
" skip %d", *skipsize);
|
" skip the whole TU %d", *skipsize);
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue