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:
486f305
)
examples: fix another reference leak
author
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Aug 2014 13:41:35 +0000
(14:41 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Aug 2014 13:41:35 +0000
(14:41 +0100)
gst_rtsp_media_get_element() returns a new ref.
examples/test-appsrc.c
patch
|
blob
|
history
diff --git
a/examples/test-appsrc.c
b/examples/test-appsrc.c
index 125c642f960986a882ff3bb3ab5b2ccbaa14490a..33ce15bb39e0cf5a61295ea5db8b901d9b09fa51 100644
(file)
--- a/
examples/test-appsrc.c
+++ b/
examples/test-appsrc.c
@@
-87,6
+87,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);
+ gst_object_unref (element);
}
int