aggregator: Set to running in a single place

Only set to running when the thread is actually started.
This commit is contained in:
Olivier Crête 2015-11-03 14:41:57 -05:00 committed by Tim-Philipp Müller
parent 96583f0d18
commit 78aa10b5bb

View file

@ -861,7 +861,6 @@ gst_aggregator_start (GstAggregator * self)
GstAggregatorClass *klass; GstAggregatorClass *klass;
gboolean result; gboolean result;
self->priv->running = TRUE;
self->priv->send_stream_start = TRUE; self->priv->send_stream_start = TRUE;
self->priv->send_segment = TRUE; self->priv->send_segment = TRUE;
self->priv->send_eos = TRUE; self->priv->send_eos = TRUE;