diff --git a/subprojects/gstreamer/libs/gst/base/gstaggregator.c b/subprojects/gstreamer/libs/gst/base/gstaggregator.c index c0b71139d6..a6aa43af0c 100644 --- a/subprojects/gstreamer/libs/gst/base/gstaggregator.c +++ b/subprojects/gstreamer/libs/gst/base/gstaggregator.c @@ -1927,7 +1927,7 @@ gst_aggregator_default_sink_event_pre_queue (GstAggregator * self, SRC_LOCK (self); PAD_LOCK (aggpad); - if (event_type == GST_EVENT_STREAM_START) { + if (event_type == GST_EVENT_STREAM_START && priv->running) { GstTaskState task_state; aggpad->priv->flow_return = GST_FLOW_OK;