mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
glmixerbin: Don't unref pad templates
Otherwise we unref the reference that is owned by the element class.
This commit is contained in:
parent
df7370bc2a
commit
e6859acff2
1 changed files with 0 additions and 1 deletions
|
@ -424,7 +424,6 @@ gst_gl_mixer_bin_request_new_pad (GstElement * element, GstPadTemplate * templ,
|
||||||
|
|
||||||
mixer_pad =
|
mixer_pad =
|
||||||
gst_element_request_pad (self->mixer, mixer_templ, req_name, NULL);
|
gst_element_request_pad (self->mixer, mixer_templ, req_name, NULL);
|
||||||
gst_object_unref (mixer_templ);
|
|
||||||
g_return_val_if_fail (mixer_pad, NULL);
|
g_return_val_if_fail (mixer_pad, NULL);
|
||||||
|
|
||||||
if (!_create_input_chain (self, chain, mixer_pad)) {
|
if (!_create_input_chain (self, chain, mixer_pad)) {
|
||||||
|
|
Loading…
Reference in a new issue