mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
Revert "webrtcbin: Remove unused function"
This reverts commit 39723dbe93
.
It breaks the CI until the C# bindings are fixed.
This commit is contained in:
parent
b565a7ef66
commit
e65a8cbcf1
1 changed files with 12 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue