From 42700e98c5a8a51a6c03e6fe72d621145386e2e5 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 23 Jun 2015 19:19:29 +0200 Subject: [PATCH] smart-video-mixer: Always keep a ref on the mixer pad --- ges/ges-smart-video-mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-smart-video-mixer.c b/ges/ges-smart-video-mixer.c index 98e545a..3e939c6 100644 --- a/ges/ges-smart-video-mixer.c +++ b/ges/ges-smart-video-mixer.c @@ -79,7 +79,7 @@ ges_smart_mixer_get_mixer_pad (GESSmartMixer * self, GstPad ** mixerpad) return NULL; info = g_hash_table_lookup (self->pads_infos, sinkpad); - *mixerpad = info->mixer_pad; + *mixerpad = gst_object_ref (info->mixer_pad); return sinkpad; } -- 2.7.4