mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
baseparse: Forward SEGMENT_DONE events immediately
There might be no more data coming afterwards, and we just drained everything that was left to be pushed anyway.
This commit is contained in:
parent
bcbe8d0f01
commit
370076edd5
1 changed files with 3 additions and 0 deletions
|
@ -1137,6 +1137,9 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
|
|||
gst_base_parse_drain (parse);
|
||||
else
|
||||
gst_base_parse_finish_fragment (parse, FALSE);
|
||||
/* Also forward event immediately, there might be no new data
|
||||
* coming afterwards that would allow us to forward it later */
|
||||
forward_immediate = TRUE;
|
||||
break;
|
||||
|
||||
case GST_EVENT_FLUSH_START:
|
||||
|
|
Loading…
Reference in a new issue