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
parent 5ce02fa5f9
commit b0652ee88f

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;
}
}