diff options
author | Edward Hervey <edward@centricular.com> | 2015-04-17 15:36:49 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2015-05-20 15:41:11 +0200 |
commit | 69c09c38cf7f086835c2d4c07531eed30b5ebfdf (patch) | |
tree | c5eca8562420470f53d67ee1876f94229689d8ab | |
parent | 43621624c87dab8ed5ce98085fc1d3e91ea269a6 (diff) |
h264parse: Consider SEI NALU as "HEADER" packets
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 969342eb4..76f768681 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -655,6 +655,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) { |