mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
smart-video-mixer: Always keep a ref on the mixer pad
This commit is contained in:
parent
54be29e9ed
commit
42700e98c5
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ ges_smart_mixer_get_mixer_pad (GESSmartMixer * self, GstPad ** mixerpad)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
info = g_hash_table_lookup (self->pads_infos, sinkpad);
|
info = g_hash_table_lookup (self->pads_infos, sinkpad);
|
||||||
*mixerpad = info->mixer_pad;
|
*mixerpad = gst_object_ref (info->mixer_pad);
|
||||||
|
|
||||||
return sinkpad;
|
return sinkpad;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue