mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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
This commit is contained in:
parent
43621624c8
commit
69c09c38cf
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue