From e65a8cbcf118c1b845767ab42f89e5356e4492a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 8 Oct 2020 18:49:55 +0300 Subject: [PATCH] Revert "webrtcbin: Remove unused function" This reverts commit 39723dbe934186c11f7b2a2b04c0af7932a1509c. It breaks the CI until the C# bindings are fixed. --- ext/webrtc/gstwebrtcbin.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 79b79d6eae..b054a72983 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -199,6 +199,17 @@ _have_dtls_elements (GstWebRTCBin * webrtc) G_DEFINE_TYPE (GstWebRTCBinPad, gst_webrtc_bin_pad, GST_TYPE_GHOST_PAD); +static void +gst_webrtc_bin_pad_set_property (GObject * object, guint prop_id, + const GValue * value, GParamSpec * pspec) +{ + switch (prop_id) { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; + } +} + static void gst_webrtc_bin_pad_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) @@ -237,6 +248,7 @@ gst_webrtc_bin_pad_class_init (GstWebRTCBinPadClass * klass) GObjectClass *gobject_class = (GObjectClass *) klass; gobject_class->get_property = gst_webrtc_bin_pad_get_property; + gobject_class->set_property = gst_webrtc_bin_pad_set_property; gobject_class->finalize = gst_webrtc_bin_pad_finalize; g_object_class_install_property (gobject_class,