aggregator: always unref the buffer on _finish function

Otherwise the user doesn't know if it was unref'd or not
This commit is contained in:
Thiago Santos 2014-06-28 09:32:32 -03:00 committed by Tim-Philipp Müller
parent 5f1b50fce4
commit 109f7c937b

View file

@ -361,6 +361,7 @@ gst_aggregator_finish_buffer (GstAggregator * self, GstBuffer * buffer)
GST_INFO_OBJECT (self, "Not pushing (active: %i, flushing: %i)",
g_atomic_int_get (&self->priv->flush_seeking),
gst_pad_is_active (self->srcpad));
gst_buffer_unref (buffer);
return GST_FLOW_OK;
}
}