From aa01e6ba226d735c65d8b151dc6222984b486868 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 22 Jun 2020 12:32:50 +0300 Subject: [PATCH] webrtcbin: Don't call gst_ghost_pad_construct() anymore It's deprecated, unneeded and doesn't do anything anymore. Part-of: --- ext/webrtc/gstwebrtcbin.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 52c89f9..623b375 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -311,11 +311,6 @@ gst_webrtc_bin_pad_new (const gchar * name, GstPadDirection direction) gst_pad_set_event_function (GST_PAD (pad), gst_webrtcbin_sink_event); - if (!gst_ghost_pad_construct (GST_GHOST_PAD (pad))) { - gst_object_unref (pad); - return NULL; - } - GST_DEBUG_OBJECT (pad, "new visible pad with direction %s", direction == GST_PAD_SRC ? "src" : "sink"); return pad; -- 2.7.4