mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +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
5f1b50fce4
commit
109f7c937b
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