From e6859acff2ffcebbbe7fb120193067487d110850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 13 May 2015 15:42:15 +0300 Subject: [PATCH] glmixerbin: Don't unref pad templates Otherwise we unref the reference that is owned by the element class. --- ext/gl/gstglmixerbin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/gl/gstglmixerbin.c b/ext/gl/gstglmixerbin.c index 47fff2a542..ae8abef95a 100644 --- 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)) {