audioaggregator: use local var

Instead of the self->priv-> deref use the local var we created already.
This commit is contained in:
Stefan Sauer 2017-07-23 13:26:23 +02:00
parent d95e62be82
commit 4080b844c0

View file

@ -1385,7 +1385,7 @@ gst_audio_aggregator_aggregate (GstAggregator * agg, gboolean timeout)
GST_AUDIO_AGGREGATOR_UNLOCK (aagg);
ret = gst_aggregator_finish_buffer (agg, aagg->priv->current_buffer);
ret = gst_aggregator_finish_buffer (agg, outbuf);
aagg->priv->current_buffer = NULL;
GST_LOG_OBJECT (aagg, "pushed outbuf, result = %s", gst_flow_get_name (ret));