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:
e297dd1
)
examples: unref element after usage
author
Sebastian Rasmussen
<sebras@hotmail.com>
Wed, 16 Jul 2014 23:34:17 +0000
(
01:34
+0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Aug 2014 13:18:09 +0000
(14:18 +0100)
gst_bin_get_by_name_recurse_up() returns an element
reference that must be unreffed after usage.
https://bugzilla.gnome.org/show_bug.cgi?id=734546
examples/test-appsrc.c
patch
|
blob
|
history
diff --git
a/examples/test-appsrc.c
b/examples/test-appsrc.c
index
9d271ea
..
125c642
100644
(file)
--- 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