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:
06cbb33
)
glmixerbin: Don't unref pad templates
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 13 May 2015 12:42:15 +0000
(15:42 +0300)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:01 +0000
(19:32 +0000)
Otherwise we unref the reference that is owned by the element class.
ext/gl/gstglmixerbin.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglmixerbin.c
b/ext/gl/gstglmixerbin.c
index
47fff2a
..
ae8abef
100644
(file)
--- a/
ext/gl/gstglmixerbin.c
+++ b/
ext/gl/gstglmixerbin.c
@@
-424,7
+424,6
@@
gst_gl_mixer_bin_request_new_pad (GstElement * element, GstPadTemplate * templ,
mixer_pad =
gst_element_request_pad (self->mixer, mixer_templ, req_name, NULL);
- gst_object_unref (mixer_templ);
g_return_val_if_fail (mixer_pad, NULL);
if (!_create_input_chain (self, chain, mixer_pad)) {