gl: Use gst_object_ref_sink() for gl{filter,mixer,src}bin too

This commit is contained in:
Sebastian Dröge 2015-06-11 15:22:04 +02:00
parent 71328df56f
commit 2014cb4aa7

View file

@ -396,8 +396,10 @@ gst_gl_mixer_bin_set_property (GObject * object,
/* FIXME: deal with replacing a mixer */
g_return_if_fail (!self->mixer || (self->mixer == mixer));
self->mixer = mixer;
if (mixer)
if (mixer) {
gst_object_ref_sink (mixer);
_connect_mixer_element (self);
}
break;
}
default: