summaryrefslogtreecommitdiffstats
path: root/examples/app/appsrc-ra.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app/appsrc-ra.c')
-rw-r--r--examples/app/appsrc-ra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/app/appsrc-ra.c b/examples/app/appsrc-ra.c
index 1611616e..aa4962fe 100644
--- a/examples/app/appsrc-ra.c
+++ b/examples/app/appsrc-ra.c
@@ -92,6 +92,7 @@ feed_data (GstElement * appsrc, guint size, App * app)
GST_DEBUG ("feed buffer %p, offset %" G_GUINT64_FORMAT "-%u", buffer,
app->offset, size);
g_signal_emit_by_name (app->appsrc, "push-buffer", buffer, &ret);
+ gst_buffer_unref (buffer);
app->offset += size;