mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
gstreamer: Ignore EventType::to_sticky_ordering
This is handled manually via the `PartialOrd` impl. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1159>
This commit is contained in:
parent
7012fa638e
commit
e8859951d3
2 changed files with 4 additions and 8 deletions
|
@ -1378,6 +1378,10 @@ ref_mode = "ref"
|
||||||
[[object]]
|
[[object]]
|
||||||
name = "Gst.EventType"
|
name = "Gst.EventType"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
|
[[object.function]]
|
||||||
|
name = "to_sticky_ordering"
|
||||||
|
# handle this manually via the `PartialOrd` function
|
||||||
|
ignore = true
|
||||||
[[object.derive]]
|
[[object.derive]]
|
||||||
name = "Debug, PartialEq, Eq, Hash"
|
name = "Debug, PartialEq, Eq, Hash"
|
||||||
[[object.member]]
|
[[object.member]]
|
||||||
|
|
|
@ -918,14 +918,6 @@ impl EventType {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
unsafe { from_glib(ffi::gst_event_type_to_quark(self.into_glib())) }
|
unsafe { from_glib(ffi::gst_event_type_to_quark(self.into_glib())) }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(feature = "v1_22", feature = "dox"))]
|
|
||||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))]
|
|
||||||
#[doc(alias = "gst_event_type_to_sticky_ordering")]
|
|
||||||
pub fn to_sticky_ordering(self) -> u32 {
|
|
||||||
assert_initialized_main_thread!();
|
|
||||||
unsafe { ffi::gst_event_type_to_sticky_ordering(self.into_glib()) }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl fmt::Display for EventType {
|
impl fmt::Display for EventType {
|
||||||
|
|
Loading…
Reference in a new issue