glmixerbin: Don't unref pad templates

Otherwise we unref the reference that is owned by the element class.
This commit is contained in:
Sebastian Dröge 2015-05-13 15:42:15 +03:00 committed by Tim-Philipp Müller
parent 06cbb3389b
commit 9336d8fa80

View file

@ -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)) {