From d9078774c341a5addd747c2c4a56a9fe715a61d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 6 Jun 2018 00:25:51 +0300 Subject: [PATCH] Fix WebRTCICETransport and WebRTCDTLSTransport parent classes --- gir-files/GstWebRTC-1.0.gir | 4 ++-- gstreamer-webrtc-sys/src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gir-files/GstWebRTC-1.0.gir b/gir-files/GstWebRTC-1.0.gir index 7502022c1..38aa77e44 100644 --- a/gir-files/GstWebRTC-1.0.gir +++ b/gir-files/GstWebRTC-1.0.gir @@ -140,7 +140,7 @@ GST_WEBRTC_DTLS_SETUP_PASSIVE: recvonly c:type="GstWebRTCDTLSTransportClass" glib:is-gtype-struct-for="WebRTCDTLSTransport"> - + @@ -428,7 +428,7 @@ GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling c:type="GstWebRTCICETransportClass" glib:is-gtype-struct-for="WebRTCICETransport"> - + diff --git a/gstreamer-webrtc-sys/src/lib.rs b/gstreamer-webrtc-sys/src/lib.rs index 7507858de..b041459df 100644 --- a/gstreamer-webrtc-sys/src/lib.rs +++ b/gstreamer-webrtc-sys/src/lib.rs @@ -103,7 +103,7 @@ pub const GST_WEBRTC_STATS_CERTIFICATE: GstWebRTCStatsType = 14; #[repr(C)] #[derive(Copy, Clone)] pub struct GstWebRTCDTLSTransportClass { - pub parent_class: gst::GstBinClass, + pub parent_class: gst::GstObjectClass, pub _padding: [gpointer; 4], } @@ -119,7 +119,7 @@ impl ::std::fmt::Debug for GstWebRTCDTLSTransportClass { #[repr(C)] #[derive(Copy, Clone)] pub struct GstWebRTCICETransportClass { - pub parent_class: gst::GstBinClass, + pub parent_class: gst::GstObjectClass, pub gather_candidates: Option gboolean>, pub _padding: [gpointer; 4], }