mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
h26xparse: Resend PPS/SPS after seek
This is to support byte-stream decoder that does not remember the PPS/SPS after a flush. This is not needed by all decoders, but is harmless for those that do remember. https://bugzilla.gnome.org/show_bug.cgi?id=758405
This commit is contained in:
parent
d84d1708b7
commit
fe116092cd
2 changed files with 2 additions and 1 deletions
|
@ -2702,6 +2702,7 @@ gst_h264_parse_event (GstBaseParse * parse, GstEvent * event)
|
|||
case GST_EVENT_FLUSH_STOP:
|
||||
h264parse->dts = GST_CLOCK_TIME_NONE;
|
||||
h264parse->ts_trn_nb = GST_CLOCK_TIME_NONE;
|
||||
h264parse->push_codec = TRUE;
|
||||
|
||||
res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
|
||||
break;
|
||||
|
|
|
@ -2188,7 +2188,7 @@ gst_h265_parse_event (GstBaseParse * parse, GstEvent * event)
|
|||
break;
|
||||
}
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
|
||||
h265parse->push_codec = TRUE;
|
||||
res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
|
||||
break;
|
||||
case GST_EVENT_SEGMENT:
|
||||
|
|
Loading…
Reference in a new issue