mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue