mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
h264parse: Post a WARNING when data is broken
This commit is contained in:
parent
4f6ac87f67
commit
475628c20e
1 changed files with 2 additions and 0 deletions
|
@ -1313,6 +1313,8 @@ gst_h264_parse_handle_frame (GstBaseParse * parse,
|
|||
/* broken nal at start -> arrange to skip it,
|
||||
* otherwise have it terminate current au
|
||||
* (and so it will be skipped on next frame round) */
|
||||
GST_ELEMENT_WARNING (h264parse, STREAM, DECODE,
|
||||
(NULL), ("Broken bit stream"));
|
||||
if (current_off == 0) {
|
||||
GST_DEBUG_OBJECT (h264parse, "skipping broken nal");
|
||||
*skipsize = nalu.offset;
|
||||
|
|
Loading…
Reference in a new issue