projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1b50f
)
aggregator: always unref the buffer on _finish function
author
Thiago Santos
<ts.santos@sisa.samsung.com>
Sat, 28 Jun 2014 12:32:32 +0000
(09:32 -0300)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:25 +0000
(15:10 +0000)
Otherwise the user doesn't know if it was unref'd or not
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
debcbbf
..
67ba269
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-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;
}
}