Commit 475628c2 authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Nicolas Dufresne

h264parse: Post a WARNING when data is broken

parent 4f6ac87f
Pipeline #42851 passed with stages
in 51 minutes and 35 seconds
......@@ -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) */
(NULL), ("Broken bit stream"));
if (current_off == 0) {
GST_DEBUG_OBJECT (h264parse, "skipping broken nal");
*skipsize = nalu.offset;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment