From 361c638d741afb7438c60d1fa261747905167844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 22 Jun 2020 12:34:20 +0300 Subject: [PATCH] smart-video-mixer: Don't call gst_ghost_pad_construct() anymore It's deprecated, unneeded and doesn't do anything anymore. Part-of: --- ges/ges-smart-video-mixer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ges/ges-smart-video-mixer.c b/ges/ges-smart-video-mixer.c index 965bfdb7c2..5197a3eb01 100644 --- a/ges/ges-smart-video-mixer.c +++ b/ges/ges-smart-video-mixer.c @@ -271,7 +271,6 @@ _request_new_pad (GstElement * element, GstPadTemplate * templ, gst_bin_add (GST_BIN (self), infos->bin); ghost = g_object_new (ges_smart_mixer_pad_get_type (), "name", name, "direction", GST_PAD_DIRECTION (tmpghost), NULL); - gst_ghost_pad_construct (GST_GHOST_PAD (ghost)); gst_ghost_pad_set_target (GST_GHOST_PAD_CAST (ghost), tmpghost); gst_pad_set_active (ghost, TRUE); if (!gst_element_add_pad (GST_ELEMENT (self), ghost))