summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Svensson Fors <davidsf@axis.com>2017-09-22 17:44:24 +0200
committerWim Taymans <wtaymans@redhat.com>2017-10-13 16:36:16 +0200
commit46b738282c4c8ff62ffafd4a440093613abac678 (patch)
treef87e11ec6ec7524e6312db17fc8b1dcaa532e24c
parentcaca6dffd0319293b20d72a19497f4e49d3846cc (diff)
pipewiresrc: recycle each buffer
Change-Id: Id0d415d830c6e7a27245102db6eb1068aa3c5f41
-rw-r--r--src/gst/gstpipewiresrc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gst/gstpipewiresrc.c b/src/gst/gstpipewiresrc.c
index 762594b2..2f8b88ea 100644
--- a/src/gst/gstpipewiresrc.c
+++ b/src/gst/gstpipewiresrc.c
@@ -931,6 +931,8 @@ gst_pipewire_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
GST_BUFFER_PTS (*buffer) = pts;
GST_BUFFER_DTS (*buffer) = dts;
+ buffer_recycle (GST_MINI_OBJECT_CAST (*buffer));
+
return GST_FLOW_OK;
not_negotiated: