mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
glmixer: unref owned caps when finalizing the mixer
Fix a caps leak with the validate.file.glvideomixer.simple.play_15s.synchronized scenario. https://bugzilla.gnome.org/show_bug.cgi?id=747915 Signed-off-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
This commit is contained in:
parent
293d6a7ebe
commit
516dc5e302
1 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,9 @@ gst_gl_mixer_finalize (GObject * object)
|
||||||
GstGLMixer *mix = GST_GL_MIXER (object);
|
GstGLMixer *mix = GST_GL_MIXER (object);
|
||||||
GstGLMixerPrivate *priv = mix->priv;
|
GstGLMixerPrivate *priv = mix->priv;
|
||||||
|
|
||||||
|
if (mix->out_caps)
|
||||||
|
gst_caps_unref (mix->out_caps);
|
||||||
|
|
||||||
g_mutex_clear (&priv->gl_resource_lock);
|
g_mutex_clear (&priv->gl_resource_lock);
|
||||||
g_cond_clear (&priv->gl_resource_cond);
|
g_cond_clear (&priv->gl_resource_cond);
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
|
|
Loading…
Reference in a new issue