Revert "webrtcbin: Remove unused function"

This reverts commit 39723dbe93.

It breaks the CI until the C# bindings are fixed.
This commit is contained in:
Sebastian Dröge 2020-10-08 18:49:55 +03:00
parent b565a7ef66
commit e65a8cbcf1

View file

@ -199,6 +199,17 @@ _have_dtls_elements (GstWebRTCBin * webrtc)
G_DEFINE_TYPE (GstWebRTCBinPad, gst_webrtc_bin_pad, GST_TYPE_GHOST_PAD); 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 static void
gst_webrtc_bin_pad_get_property (GObject * object, guint prop_id, gst_webrtc_bin_pad_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec) GValue * value, GParamSpec * pspec)
@ -237,6 +248,7 @@ gst_webrtc_bin_pad_class_init (GstWebRTCBinPadClass * klass)
GObjectClass *gobject_class = (GObjectClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass;
gobject_class->get_property = gst_webrtc_bin_pad_get_property; 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; gobject_class->finalize = gst_webrtc_bin_pad_finalize;
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,