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
parent cb29839580
commit 41344e0315

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;