summaryrefslogtreecommitdiff
path: root/examples/test-appsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test-appsrc.c')
-rw-r--r--examples/test-appsrc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/test-appsrc.c b/examples/test-appsrc.c
index 9d271ea..125c642 100644
--- a/examples/test-appsrc.c
+++ b/examples/test-appsrc.c
@@ -86,6 +86,7 @@ media_configure (GstRTSPMediaFactory * factory, GstRTSPMedia * media,
/* install the callback that will be called when a buffer is needed */
g_signal_connect (appsrc, "need-data", (GCallback) need_data, ctx);
+ gst_object_unref (appsrc);
}
int