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:
parent
5ce02fa5f9
commit
b0652ee88f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user