mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-05-18 00:12:46 +00:00
Merge branch 'Fix_Aggregator_Race_condition' into 'main'
aggregator: avoid race condition after FLUSH_STOP event See merge request gstreamer/gstreamer!5927
This commit is contained in:
commit
b86bcdc570
|
@ -1793,6 +1793,9 @@ gst_aggregator_default_sink_event (GstAggregator * self,
|
|||
SRC_LOCK (self);
|
||||
priv->send_eos = TRUE;
|
||||
priv->got_eos_event = FALSE;
|
||||
if (self->priv->start_time_selection ==
|
||||
GST_AGGREGATOR_START_TIME_SELECTION_FIRST)
|
||||
priv->first_buffer = TRUE;
|
||||
SRC_BROADCAST (self);
|
||||
SRC_UNLOCK (self);
|
||||
|
||||
|
|
Loading…
Reference in a new issue