mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 08:36:31 +00:00
enums: Removed MessageType::Any
This commit is contained in:
parent
05d936fcee
commit
9067b500c8
1 changed files with 0 additions and 3 deletions
|
@ -472,7 +472,6 @@ pub enum MessageType {
|
|||
StreamCollection,
|
||||
StreamsSelected,
|
||||
Redirect,
|
||||
Any,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -522,7 +521,6 @@ impl ToGlib for MessageType {
|
|||
MessageType::StreamCollection => gst_sys::GST_MESSAGE_STREAM_COLLECTION,
|
||||
MessageType::StreamsSelected => gst_sys::GST_MESSAGE_STREAMS_SELECTED,
|
||||
MessageType::Redirect => gst_sys::GST_MESSAGE_REDIRECT,
|
||||
MessageType::Any => gst_sys::GST_MESSAGE_ANY,
|
||||
MessageType::__Unknown(value) => value as u32,
|
||||
}
|
||||
}
|
||||
|
@ -572,7 +570,6 @@ impl FromGlib<gst_sys::GstMessageType> for MessageType {
|
|||
2147483652 => MessageType::StreamCollection,
|
||||
2147483653 => MessageType::StreamsSelected,
|
||||
2147483654 => MessageType::Redirect,
|
||||
4294967295 => MessageType::Any,
|
||||
value => MessageType::__Unknown(value as i32),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue