forked from mirrors/gstreamer-rs
Fix WebRTCICETransport and WebRTCDTLSTransport parent classes
This commit is contained in:
parent
710c4d218a
commit
d9078774c3
2 changed files with 4 additions and 4 deletions
|
@ -140,7 +140,7 @@ GST_WEBRTC_DTLS_SETUP_PASSIVE: recvonly</doc>
|
|||
c:type="GstWebRTCDTLSTransportClass"
|
||||
glib:is-gtype-struct-for="WebRTCDTLSTransport">
|
||||
<field name="parent_class">
|
||||
<type name="Gst.BinClass" c:type="GstBinClass"/>
|
||||
<type name="Gst.ObjectClass" c:type="GstObjectClass"/>
|
||||
</field>
|
||||
<field name="_padding">
|
||||
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
|
||||
|
@ -428,7 +428,7 @@ GST_WEBRTC_ICE_ROLE_CONTROLLING: controlling</doc>
|
|||
c:type="GstWebRTCICETransportClass"
|
||||
glib:is-gtype-struct-for="WebRTCICETransport">
|
||||
<field name="parent_class">
|
||||
<type name="Gst.BinClass" c:type="GstBinClass"/>
|
||||
<type name="Gst.ObjectClass" c:type="GstObjectClass"/>
|
||||
</field>
|
||||
<field name="gather_candidates">
|
||||
<callback name="gather_candidates">
|
||||
|
|
|
@ -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<unsafe extern "C" fn(*mut GstWebRTCICETransport) -> gboolean>,
|
||||
pub _padding: [gpointer; 4],
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue