summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2015-04-17 15:36:49 +0200
committerEdward Hervey <bilboed@bilboed.com>2015-04-17 16:21:43 +0200
commit1560251d1397a07538139b70f28a648008801123 (patch)
tree45ae06f4857c283becfc65c48556129954d6c6aa
parentb7dcb15b3d60309c5787cf308892258669beff51 (diff)
h264parse: Consider SEI NALU as "HEADER" packetsmultifile
Like SPS/PPS they do contain information which will be needed to decode the following data (as per definition of the flag) Also ensures that the series of SPS/PPS/SEI NALU before a keyframe can be considered as one contiguous header
-rw-r--r--gst/videoparsers/gsth264parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 5d3ac7c4d..fcadcd20b 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -656,6 +656,7 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
if (!GST_H264_PARSE_STATE_VALID (h264parse, GST_H264_PARSE_STATE_GOT_SPS))
return FALSE;
+ h264parse->header |= TRUE;
gst_h264_parse_process_sei (h264parse, nalu);
/* mark SEI pos */
if (h264parse->sei_pos == -1) {