projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6ac87
)
h264parse: Post a WARNING when data is broken
author
Thibault Saunier
<tsaunier@igalia.com>
Fri, 31 May 2019 14:12:54 +0000
(10:12 -0400)
committer
Nicolas Dufresne
<nicolas@ndufresne.ca>
Sat, 15 Jun 2019 23:13:43 +0000
(23:13 +0000)
gst/videoparsers/gsth264parse.c
patch
|
blob
|
history
diff --git
a/gst/videoparsers/gsth264parse.c
b/gst/videoparsers/gsth264parse.c
index
41a31ea
..
fa64671
100644
(file)
--- a/
gst/videoparsers/gsth264parse.c
+++ b/
gst/videoparsers/gsth264parse.c
@@
-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;