smart-video-mixer: Always keep a ref on the mixer pad

This commit is contained in:
Thibault Saunier 2015-06-23 19:19:29 +02:00
parent 54be29e9ed
commit 42700e98c5

View file

@ -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;
}