mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 22:28:22 +00:00
Revert "h264parse: Remove un-needed check on SPS state"
This reverts commit 73dedf9a51
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6562>
This commit is contained in:
parent
ee7026925f
commit
5453976f03
1 changed files with 4 additions and 0 deletions
|
@ -1132,6 +1132,10 @@ gst_h264_parse_process_nal (GstH264Parse * h264parse, GstH264NalUnit * nalu)
|
|||
h264parse->header = TRUE;
|
||||
break;
|
||||
case GST_H264_NAL_SEI:
|
||||
/* expected state: got-sps */
|
||||
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 */
|
||||
|
|
Loading…
Reference in a new issue