mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
gl: Use gst_object_ref_sink() for gl{filter,mixer,src}bin too
This commit is contained in:
parent
71328df56f
commit
2014cb4aa7
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue