From 9a3ef2e9f17693f201e943c696945c63ece0ee29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 4 Apr 2018 10:46:18 +0300 Subject: [PATCH] Regenerate with latest GIR and update for the non-bitflags flags in -sys now --- gstreamer-app/src/auto/app_sink.rs | 2 +- gstreamer-app/src/auto/app_src.rs | 2 +- gstreamer-app/src/auto/enums.rs | 2 +- gstreamer-app/src/auto/flags.rs | 2 +- gstreamer-app/src/auto/mod.rs | 2 +- .../src/auto/audio_stream_align.rs | 2 +- gstreamer-audio/src/auto/enums.rs | 2 +- gstreamer-audio/src/auto/flags.rs | 26 ++-- gstreamer-audio/src/auto/mod.rs | 2 +- gstreamer-audio/src/auto/stream_volume.rs | 2 +- gstreamer-base/src/auto/adapter.rs | 2 +- gstreamer-base/src/auto/base_sink.rs | 2 +- gstreamer-base/src/auto/base_src.rs | 2 +- gstreamer-base/src/auto/base_transform.rs | 2 +- gstreamer-base/src/auto/enums.rs | 2 +- gstreamer-base/src/auto/flags.rs | 2 +- gstreamer-base/src/auto/functions.rs | 2 +- gstreamer-base/src/auto/mod.rs | 2 +- gstreamer-base/src/auto/push_src.rs | 2 +- gstreamer-net/src/auto/enums.rs | 2 +- gstreamer-net/src/auto/flags.rs | 2 +- gstreamer-net/src/auto/mod.rs | 2 +- gstreamer-net/src/auto/net_client_clock.rs | 2 +- gstreamer-net/src/auto/net_time_provider.rs | 2 +- gstreamer-net/src/auto/ntp_clock.rs | 2 +- gstreamer-net/src/auto/ptp_clock.rs | 2 +- gstreamer-pbutils/src/auto/discoverer.rs | 2 +- .../src/auto/discoverer_audio_info.rs | 2 +- .../src/auto/discoverer_container_info.rs | 2 +- gstreamer-pbutils/src/auto/discoverer_info.rs | 2 +- .../src/auto/discoverer_stream_info.rs | 2 +- .../src/auto/discoverer_subtitle_info.rs | 2 +- .../src/auto/discoverer_video_info.rs | 2 +- gstreamer-pbutils/src/auto/enums.rs | 2 +- gstreamer-pbutils/src/auto/flags.rs | 10 +- gstreamer-pbutils/src/auto/mod.rs | 2 +- gstreamer-player/src/auto/enums.rs | 2 +- gstreamer-player/src/auto/flags.rs | 2 +- gstreamer-player/src/auto/mod.rs | 2 +- gstreamer-player/src/auto/player.rs | 2 +- .../src/auto/player_audio_info.rs | 2 +- ...player_g_main_context_signal_dispatcher.rs | 2 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 2 +- .../src/auto/player_stream_info.rs | 2 +- .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 2 +- .../src/auto/player_video_renderer.rs | 2 +- .../src/auto/player_visualization.rs | 2 +- gstreamer-rtsp-server/src/auto/enums.rs | 2 +- gstreamer-rtsp-server/src/auto/flags.rs | 14 +- gstreamer-rtsp-server/src/auto/mod.rs | 2 +- .../src/auto/r_t_s_p_address.rs | 2 +- .../src/auto/r_t_s_p_address_pool.rs | 2 +- .../src/auto/r_t_s_p_auth.rs | 2 +- .../src/auto/r_t_s_p_client.rs | 2 +- .../src/auto/r_t_s_p_media.rs | 2 +- .../src/auto/r_t_s_p_media_factory.rs | 2 +- .../src/auto/r_t_s_p_media_factory_u_r_i.rs | 2 +- .../src/auto/r_t_s_p_mount_points.rs | 2 +- .../src/auto/r_t_s_p_server.rs | 2 +- .../src/auto/r_t_s_p_session.rs | 2 +- .../src/auto/r_t_s_p_session_media.rs | 2 +- .../src/auto/r_t_s_p_session_pool.rs | 2 +- .../src/auto/r_t_s_p_stream.rs | 2 +- .../src/auto/r_t_s_p_stream_transport.rs | 2 +- .../src/auto/r_t_s_p_thread_pool.rs | 2 +- gstreamer-rtsp/src/auto/enums.rs | 2 +- gstreamer-rtsp/src/auto/flags.rs | 42 +++--- gstreamer-rtsp/src/auto/mod.rs | 2 +- gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs | 2 +- gstreamer-rtsp/src/auto/r_t_s_p_url.rs | 2 +- gstreamer-sdp/src/auto/enums.rs | 2 +- gstreamer-sdp/src/auto/flags.rs | 2 +- gstreamer-sdp/src/auto/mod.rs | 2 +- gstreamer-video/src/auto/enums.rs | 2 +- gstreamer-video/src/auto/flags.rs | 42 +++--- gstreamer-video/src/auto/mod.rs | 2 +- gstreamer-video/src/auto/video_filter.rs | 2 +- gstreamer-video/src/auto/video_overlay.rs | 2 +- gstreamer-video/src/video_format_info.rs | 16 +-- gstreamer-video/src/video_frame.rs | 32 ++--- gstreamer-video/src/video_info.rs | 6 +- gstreamer/src/auto/alias.rs | 2 +- gstreamer/src/auto/bin.rs | 2 +- gstreamer/src/auto/buffer_pool.rs | 2 +- gstreamer/src/auto/bus.rs | 2 +- gstreamer/src/auto/child_proxy.rs | 2 +- gstreamer/src/auto/clock.rs | 2 +- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 2 +- gstreamer/src/auto/device_monitor.rs | 2 +- gstreamer/src/auto/device_provider.rs | 2 +- gstreamer/src/auto/device_provider_factory.rs | 2 +- gstreamer/src/auto/element.rs | 2 +- gstreamer/src/auto/element_factory.rs | 2 +- gstreamer/src/auto/enums.rs | 2 +- gstreamer/src/auto/flags.rs | 130 +++++++++--------- gstreamer/src/auto/functions.rs | 2 +- gstreamer/src/auto/ghost_pad.rs | 2 +- gstreamer/src/auto/mod.rs | 2 +- gstreamer/src/auto/object.rs | 2 +- gstreamer/src/auto/pad.rs | 2 +- gstreamer/src/auto/pad_template.rs | 2 +- gstreamer/src/auto/pipeline.rs | 2 +- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/plugin_feature.rs | 2 +- gstreamer/src/auto/preset.rs | 2 +- gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/registry.rs | 2 +- gstreamer/src/auto/stream.rs | 2 +- gstreamer/src/auto/stream_collection.rs | 2 +- gstreamer/src/auto/system_clock.rs | 2 +- gstreamer/src/auto/tag_setter.rs | 2 +- gstreamer/src/auto/toc_setter.rs | 2 +- gstreamer/src/auto/type_find_factory.rs | 2 +- gstreamer/src/auto/u_r_i_handler.rs | 2 +- gstreamer/src/buffer.rs | 2 +- gstreamer/src/event.rs | 10 +- gstreamer/src/query.rs | 6 +- 121 files changed, 272 insertions(+), 282 deletions(-) diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index f57f5a8e5..fd7acaf61 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 3aead0fba..317b7c6ff 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index 086780966..d802ef78d 100644 --- a/gstreamer-app/src/auto/enums.rs +++ b/gstreamer-app/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/flags.rs b/gstreamer-app/src/auto/flags.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-app/src/auto/flags.rs +++ b/gstreamer-app/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/mod.rs b/gstreamer-app/src/auto/mod.rs index 99ab5c1e7..e74b44fb6 100644 --- a/gstreamer-app/src/auto/mod.rs +++ b/gstreamer-app/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/audio_stream_align.rs b/gstreamer-audio/src/auto/audio_stream_align.rs index 4fa822bbe..d9df403cd 100644 --- a/gstreamer-audio/src/auto/audio_stream_align.rs +++ b/gstreamer-audio/src/auto/audio_stream_align.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/enums.rs b/gstreamer-audio/src/auto/enums.rs index 6cfb9f498..744f7a2f2 100644 --- a/gstreamer-audio/src/auto/enums.rs +++ b/gstreamer-audio/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index ffcf5dd14..dfd8ab791 100644 --- a/gstreamer-audio/src/auto/flags.rs +++ b/gstreamer-audio/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -24,7 +24,7 @@ impl ToGlib for AudioFlags { type GlibType = ffi::GstAudioFlags; fn to_glib(&self) -> ffi::GstAudioFlags { - ffi::GstAudioFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -32,7 +32,7 @@ impl ToGlib for AudioFlags { impl FromGlib for AudioFlags { fn from_glib(value: ffi::GstAudioFlags) -> AudioFlags { skip_assert_initialized!(); - AudioFlags::from_bits_truncate(value.bits()) + AudioFlags::from_bits_truncate(value) } } @@ -50,13 +50,13 @@ impl<'a> FromValueOptional<'a> for AudioFlags { impl<'a> FromValue<'a> for AudioFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstAudioFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for AudioFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -75,7 +75,7 @@ impl ToGlib for AudioFormatFlags { type GlibType = ffi::GstAudioFormatFlags; fn to_glib(&self) -> ffi::GstAudioFormatFlags { - ffi::GstAudioFormatFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -83,7 +83,7 @@ impl ToGlib for AudioFormatFlags { impl FromGlib for AudioFormatFlags { fn from_glib(value: ffi::GstAudioFormatFlags) -> AudioFormatFlags { skip_assert_initialized!(); - AudioFormatFlags::from_bits_truncate(value.bits()) + AudioFormatFlags::from_bits_truncate(value) } } @@ -101,13 +101,13 @@ impl<'a> FromValueOptional<'a> for AudioFormatFlags { impl<'a> FromValue<'a> for AudioFormatFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstAudioFormatFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for AudioFormatFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -123,7 +123,7 @@ impl ToGlib for AudioPackFlags { type GlibType = ffi::GstAudioPackFlags; fn to_glib(&self) -> ffi::GstAudioPackFlags { - ffi::GstAudioPackFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -131,7 +131,7 @@ impl ToGlib for AudioPackFlags { impl FromGlib for AudioPackFlags { fn from_glib(value: ffi::GstAudioPackFlags) -> AudioPackFlags { skip_assert_initialized!(); - AudioPackFlags::from_bits_truncate(value.bits()) + AudioPackFlags::from_bits_truncate(value) } } @@ -149,13 +149,13 @@ impl<'a> FromValueOptional<'a> for AudioPackFlags { impl<'a> FromValue<'a> for AudioPackFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstAudioPackFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for AudioPackFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer-audio/src/auto/mod.rs b/gstreamer-audio/src/auto/mod.rs index 08493ce7c..3b69cc673 100644 --- a/gstreamer-audio/src/auto/mod.rs +++ b/gstreamer-audio/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index 32702979c..a94524169 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 6edb8ed07..79bfa8b27 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index bb5745ec0..ee820064a 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index edebc286a..5c75ae2ca 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index 059007d00..0c5697e66 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/enums.rs b/gstreamer-base/src/auto/enums.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-base/src/auto/enums.rs +++ b/gstreamer-base/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/flags.rs b/gstreamer-base/src/auto/flags.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-base/src/auto/flags.rs +++ b/gstreamer-base/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index 58bc3719f..f17b601f4 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/mod.rs b/gstreamer-base/src/auto/mod.rs index c8a4f6475..6972dde24 100644 --- a/gstreamer-base/src/auto/mod.rs +++ b/gstreamer-base/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 6c45a2369..cd95a0169 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/enums.rs b/gstreamer-net/src/auto/enums.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-net/src/auto/enums.rs +++ b/gstreamer-net/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/flags.rs b/gstreamer-net/src/auto/flags.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-net/src/auto/flags.rs +++ b/gstreamer-net/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/mod.rs b/gstreamer-net/src/auto/mod.rs index 4e8bdbd3a..759586437 100644 --- a/gstreamer-net/src/auto/mod.rs +++ b/gstreamer-net/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index a7ec52257..36d05859f 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 57b36785a..80edb2752 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index d06d9152c..4bd3b03b9 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 32da948f9..f7cb62ba3 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 43b142cd5..93e523f65 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index 5dd2d4f78..5447adb34 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index fd5496405..8e5c8df66 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index cd8f4ea47..9e19bc639 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index 01802e403..711e73642 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index 4101a9514..74aaaa093 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 440ecf2f6..b3c37ad91 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/enums.rs b/gstreamer-pbutils/src/auto/enums.rs index ca1fff3f8..e94a0a604 100644 --- a/gstreamer-pbutils/src/auto/enums.rs +++ b/gstreamer-pbutils/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/flags.rs b/gstreamer-pbutils/src/auto/flags.rs index efcbc4955..fcdca17fb 100644 --- a/gstreamer-pbutils/src/auto/flags.rs +++ b/gstreamer-pbutils/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -27,7 +27,7 @@ impl ToGlib for DiscovererSerializeFlags { type GlibType = ffi::GstDiscovererSerializeFlags; fn to_glib(&self) -> ffi::GstDiscovererSerializeFlags { - ffi::GstDiscovererSerializeFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -35,7 +35,7 @@ impl ToGlib for DiscovererSerializeFlags { impl FromGlib for DiscovererSerializeFlags { fn from_glib(value: ffi::GstDiscovererSerializeFlags) -> DiscovererSerializeFlags { skip_assert_initialized!(); - DiscovererSerializeFlags::from_bits_truncate(value.bits()) + DiscovererSerializeFlags::from_bits_truncate(value) } } @@ -53,13 +53,13 @@ impl<'a> FromValueOptional<'a> for DiscovererSerializeFlags { impl<'a> FromValue<'a> for DiscovererSerializeFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstDiscovererSerializeFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for DiscovererSerializeFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer-pbutils/src/auto/mod.rs b/gstreamer-pbutils/src/auto/mod.rs index 8f5f6c11b..63930e6a7 100644 --- a/gstreamer-pbutils/src/auto/mod.rs +++ b/gstreamer-pbutils/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 0e5a94cb5..5c818d3f7 100644 --- a/gstreamer-player/src/auto/enums.rs +++ b/gstreamer-player/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/flags.rs b/gstreamer-player/src/auto/flags.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-player/src/auto/flags.rs +++ b/gstreamer-player/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/mod.rs b/gstreamer-player/src/auto/mod.rs index 38c0f40d6..1fbc5c63f 100644 --- a/gstreamer-player/src/auto/mod.rs +++ b/gstreamer-player/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 517eb3a05..fe6b173b9 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index d0bba5a4a..feb49550e 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs index 15b5bd0f6..05f985b7a 100644 --- a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 7d0a1d75e..cabd0973a 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 184548ab0..153becad8 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index bfc880059..0014ee4e6 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index cd75da659..6a75b3866 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index 3b533c5ed..bc12a8111 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 38c496473..bf48a6811 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 4f4792e00..96aded666 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index 06da99587..d7675c2aa 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/enums.rs b/gstreamer-rtsp-server/src/auto/enums.rs index db1f6f783..b0905cfd9 100644 --- a/gstreamer-rtsp-server/src/auto/enums.rs +++ b/gstreamer-rtsp-server/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/flags.rs b/gstreamer-rtsp-server/src/auto/flags.rs index 66533f210..7f11f38cd 100644 --- a/gstreamer-rtsp-server/src/auto/flags.rs +++ b/gstreamer-rtsp-server/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -28,7 +28,7 @@ impl ToGlib for RTSPAddressFlags { type GlibType = ffi::GstRTSPAddressFlags; fn to_glib(&self) -> ffi::GstRTSPAddressFlags { - ffi::GstRTSPAddressFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -36,7 +36,7 @@ impl ToGlib for RTSPAddressFlags { impl FromGlib for RTSPAddressFlags { fn from_glib(value: ffi::GstRTSPAddressFlags) -> RTSPAddressFlags { skip_assert_initialized!(); - RTSPAddressFlags::from_bits_truncate(value.bits()) + RTSPAddressFlags::from_bits_truncate(value) } } @@ -52,7 +52,7 @@ impl ToGlib for RTSPTransportMode { type GlibType = ffi::GstRTSPTransportMode; fn to_glib(&self) -> ffi::GstRTSPTransportMode { - ffi::GstRTSPTransportMode::from_bits_truncate(self.bits()) + self.bits() } } @@ -60,7 +60,7 @@ impl ToGlib for RTSPTransportMode { impl FromGlib for RTSPTransportMode { fn from_glib(value: ffi::GstRTSPTransportMode) -> RTSPTransportMode { skip_assert_initialized!(); - RTSPTransportMode::from_bits_truncate(value.bits()) + RTSPTransportMode::from_bits_truncate(value) } } @@ -78,13 +78,13 @@ impl<'a> FromValueOptional<'a> for RTSPTransportMode { impl<'a> FromValue<'a> for RTSPTransportMode { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPTransportMode::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPTransportMode { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer-rtsp-server/src/auto/mod.rs b/gstreamer-rtsp-server/src/auto/mod.rs index cf651df10..0495955b6 100644 --- a/gstreamer-rtsp-server/src/auto/mod.rs +++ b/gstreamer-rtsp-server/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs index ea46f6736..08e393853 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs index 5d41bfd80..0e98b04d2 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs index c2477dad7..99c6e461f 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs index e3dc14637..68833fbec 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs index f83ecf820..c7594c141 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs index 5a3f1dc2c..a996438d1 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs index ba992121b..96269b679 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs index 9e9684e41..d2f26dcfa 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs index d1005be17..f72daf159 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs index 301122382..ee642e187 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs index b994b0a36..ae0ae6aaa 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs index 1769cb0f7..6196e6bbb 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs index c950e3308..c04a1d3bb 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs index a83612cf7..438882fc4 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs index 4d1dea941..e46046ab1 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/enums.rs b/gstreamer-rtsp/src/auto/enums.rs index 44a57e4ee..3a3e003b2 100644 --- a/gstreamer-rtsp/src/auto/enums.rs +++ b/gstreamer-rtsp/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/flags.rs b/gstreamer-rtsp/src/auto/flags.rs index ebfacded9..e23edd2d1 100644 --- a/gstreamer-rtsp/src/auto/flags.rs +++ b/gstreamer-rtsp/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -24,7 +24,7 @@ impl ToGlib for RTSPEvent { type GlibType = ffi::GstRTSPEvent; fn to_glib(&self) -> ffi::GstRTSPEvent { - ffi::GstRTSPEvent::from_bits_truncate(self.bits()) + self.bits() } } @@ -32,7 +32,7 @@ impl ToGlib for RTSPEvent { impl FromGlib for RTSPEvent { fn from_glib(value: ffi::GstRTSPEvent) -> RTSPEvent { skip_assert_initialized!(); - RTSPEvent::from_bits_truncate(value.bits()) + RTSPEvent::from_bits_truncate(value) } } @@ -50,13 +50,13 @@ impl<'a> FromValueOptional<'a> for RTSPEvent { impl<'a> FromValue<'a> for RTSPEvent { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPEvent::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPEvent { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -76,7 +76,7 @@ impl ToGlib for RTSPLowerTrans { type GlibType = ffi::GstRTSPLowerTrans; fn to_glib(&self) -> ffi::GstRTSPLowerTrans { - ffi::GstRTSPLowerTrans::from_bits_truncate(self.bits()) + self.bits() } } @@ -84,7 +84,7 @@ impl ToGlib for RTSPLowerTrans { impl FromGlib for RTSPLowerTrans { fn from_glib(value: ffi::GstRTSPLowerTrans) -> RTSPLowerTrans { skip_assert_initialized!(); - RTSPLowerTrans::from_bits_truncate(value.bits()) + RTSPLowerTrans::from_bits_truncate(value) } } @@ -102,13 +102,13 @@ impl<'a> FromValueOptional<'a> for RTSPLowerTrans { impl<'a> FromValue<'a> for RTSPLowerTrans { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPLowerTrans::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPLowerTrans { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -136,7 +136,7 @@ impl ToGlib for RTSPMethod { type GlibType = ffi::GstRTSPMethod; fn to_glib(&self) -> ffi::GstRTSPMethod { - ffi::GstRTSPMethod::from_bits_truncate(self.bits()) + self.bits() } } @@ -144,7 +144,7 @@ impl ToGlib for RTSPMethod { impl FromGlib for RTSPMethod { fn from_glib(value: ffi::GstRTSPMethod) -> RTSPMethod { skip_assert_initialized!(); - RTSPMethod::from_bits_truncate(value.bits()) + RTSPMethod::from_bits_truncate(value) } } @@ -162,13 +162,13 @@ impl<'a> FromValueOptional<'a> for RTSPMethod { impl<'a> FromValue<'a> for RTSPMethod { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPMethod::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPMethod { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -187,7 +187,7 @@ impl ToGlib for RTSPProfile { type GlibType = ffi::GstRTSPProfile; fn to_glib(&self) -> ffi::GstRTSPProfile { - ffi::GstRTSPProfile::from_bits_truncate(self.bits()) + self.bits() } } @@ -195,7 +195,7 @@ impl ToGlib for RTSPProfile { impl FromGlib for RTSPProfile { fn from_glib(value: ffi::GstRTSPProfile) -> RTSPProfile { skip_assert_initialized!(); - RTSPProfile::from_bits_truncate(value.bits()) + RTSPProfile::from_bits_truncate(value) } } @@ -213,13 +213,13 @@ impl<'a> FromValueOptional<'a> for RTSPProfile { impl<'a> FromValue<'a> for RTSPProfile { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPProfile::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPProfile { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -236,7 +236,7 @@ impl ToGlib for RTSPTransMode { type GlibType = ffi::GstRTSPTransMode; fn to_glib(&self) -> ffi::GstRTSPTransMode { - ffi::GstRTSPTransMode::from_bits_truncate(self.bits()) + self.bits() } } @@ -244,7 +244,7 @@ impl ToGlib for RTSPTransMode { impl FromGlib for RTSPTransMode { fn from_glib(value: ffi::GstRTSPTransMode) -> RTSPTransMode { skip_assert_initialized!(); - RTSPTransMode::from_bits_truncate(value.bits()) + RTSPTransMode::from_bits_truncate(value) } } @@ -262,13 +262,13 @@ impl<'a> FromValueOptional<'a> for RTSPTransMode { impl<'a> FromValue<'a> for RTSPTransMode { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstRTSPTransMode::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for RTSPTransMode { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer-rtsp/src/auto/mod.rs b/gstreamer-rtsp/src/auto/mod.rs index 98e3f9b80..da1852f1d 100644 --- a/gstreamer-rtsp/src/auto/mod.rs +++ b/gstreamer-rtsp/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs b/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs index ac9b78e12..7124914af 100644 --- a/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs +++ b/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/r_t_s_p_url.rs b/gstreamer-rtsp/src/auto/r_t_s_p_url.rs index f0496230e..2005b2784 100644 --- a/gstreamer-rtsp/src/auto/r_t_s_p_url.rs +++ b/gstreamer-rtsp/src/auto/r_t_s_p_url.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/enums.rs b/gstreamer-sdp/src/auto/enums.rs index 7b08d4a53..d8f1f80b4 100644 --- a/gstreamer-sdp/src/auto/enums.rs +++ b/gstreamer-sdp/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/flags.rs b/gstreamer-sdp/src/auto/flags.rs index 02e1f608a..1e1712f99 100644 --- a/gstreamer-sdp/src/auto/flags.rs +++ b/gstreamer-sdp/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/mod.rs b/gstreamer-sdp/src/auto/mod.rs index 8806ddb9e..82b73fac9 100644 --- a/gstreamer-sdp/src/auto/mod.rs +++ b/gstreamer-sdp/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index e7817acba..3fec1ddbb 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index 44d0478b9..afef49a1b 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -31,7 +31,7 @@ impl ToGlib for VideoChromaSite { type GlibType = ffi::GstVideoChromaSite; fn to_glib(&self) -> ffi::GstVideoChromaSite { - ffi::GstVideoChromaSite::from_bits_truncate(self.bits()) + self.bits() } } @@ -39,7 +39,7 @@ impl ToGlib for VideoChromaSite { impl FromGlib for VideoChromaSite { fn from_glib(value: ffi::GstVideoChromaSite) -> VideoChromaSite { skip_assert_initialized!(); - VideoChromaSite::from_bits_truncate(value.bits()) + VideoChromaSite::from_bits_truncate(value) } } @@ -57,13 +57,13 @@ impl<'a> FromValueOptional<'a> for VideoChromaSite { impl<'a> FromValue<'a> for VideoChromaSite { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstVideoChromaSite::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for VideoChromaSite { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -80,7 +80,7 @@ impl ToGlib for VideoFlags { type GlibType = ffi::GstVideoFlags; fn to_glib(&self) -> ffi::GstVideoFlags { - ffi::GstVideoFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -88,7 +88,7 @@ impl ToGlib for VideoFlags { impl FromGlib for VideoFlags { fn from_glib(value: ffi::GstVideoFlags) -> VideoFlags { skip_assert_initialized!(); - VideoFlags::from_bits_truncate(value.bits()) + VideoFlags::from_bits_truncate(value) } } @@ -106,13 +106,13 @@ impl<'a> FromValueOptional<'a> for VideoFlags { impl<'a> FromValue<'a> for VideoFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstVideoFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for VideoFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -135,7 +135,7 @@ impl ToGlib for VideoFormatFlags { type GlibType = ffi::GstVideoFormatFlags; fn to_glib(&self) -> ffi::GstVideoFormatFlags { - ffi::GstVideoFormatFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -143,7 +143,7 @@ impl ToGlib for VideoFormatFlags { impl FromGlib for VideoFormatFlags { fn from_glib(value: ffi::GstVideoFormatFlags) -> VideoFormatFlags { skip_assert_initialized!(); - VideoFormatFlags::from_bits_truncate(value.bits()) + VideoFormatFlags::from_bits_truncate(value) } } @@ -161,13 +161,13 @@ impl<'a> FromValueOptional<'a> for VideoFormatFlags { impl<'a> FromValue<'a> for VideoFormatFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstVideoFormatFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for VideoFormatFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -188,7 +188,7 @@ impl ToGlib for VideoFrameFlags { type GlibType = ffi::GstVideoFrameFlags; fn to_glib(&self) -> ffi::GstVideoFrameFlags { - ffi::GstVideoFrameFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -196,7 +196,7 @@ impl ToGlib for VideoFrameFlags { impl FromGlib for VideoFrameFlags { fn from_glib(value: ffi::GstVideoFrameFlags) -> VideoFrameFlags { skip_assert_initialized!(); - VideoFrameFlags::from_bits_truncate(value.bits()) + VideoFrameFlags::from_bits_truncate(value) } } @@ -214,13 +214,13 @@ impl<'a> FromValueOptional<'a> for VideoFrameFlags { impl<'a> FromValue<'a> for VideoFrameFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstVideoFrameFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for VideoFrameFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -242,7 +242,7 @@ impl ToGlib for VideoMultiviewFlags { type GlibType = ffi::GstVideoMultiviewFlags; fn to_glib(&self) -> ffi::GstVideoMultiviewFlags { - ffi::GstVideoMultiviewFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -250,7 +250,7 @@ impl ToGlib for VideoMultiviewFlags { impl FromGlib for VideoMultiviewFlags { fn from_glib(value: ffi::GstVideoMultiviewFlags) -> VideoMultiviewFlags { skip_assert_initialized!(); - VideoMultiviewFlags::from_bits_truncate(value.bits()) + VideoMultiviewFlags::from_bits_truncate(value) } } @@ -268,13 +268,13 @@ impl<'a> FromValueOptional<'a> for VideoMultiviewFlags { impl<'a> FromValue<'a> for VideoMultiviewFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstVideoMultiviewFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for VideoMultiviewFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer-video/src/auto/mod.rs b/gstreamer-video/src/auto/mod.rs index 8f494f1f8..caf930154 100644 --- a/gstreamer-video/src/auto/mod.rs +++ b/gstreamer-video/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index 7cfc2e6b0..218ccc675 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index 80d0f0529..e07f45692 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/video_format_info.rs b/gstreamer-video/src/video_format_info.rs index 850ee30d5..2ddec75ea 100644 --- a/gstreamer-video/src/video_format_info.rs +++ b/gstreamer-video/src/video_format_info.rs @@ -106,35 +106,35 @@ impl VideoFormatInfo { } pub fn has_alpha(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_ALPHA) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_ALPHA != 0 } pub fn has_palette(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_PALETTE) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_PALETTE != 0 } pub fn is_complex(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_COMPLEX) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_COMPLEX != 0 } pub fn is_gray(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_GRAY) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_GRAY != 0 } pub fn is_le(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_LE) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_LE != 0 } pub fn is_rgb(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_RGB) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_RGB != 0 } pub fn is_tiled(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_TILED) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_TILED != 0 } pub fn is_yuv(&self) -> bool { - self.0.flags.contains(ffi::GST_VIDEO_FORMAT_FLAG_YUV) + self.0.flags & ffi::GST_VIDEO_FORMAT_FLAG_YUV != 0 } pub fn scale_width(&self, component: u8, width: u32) -> u32 { diff --git a/gstreamer-video/src/video_frame.rs b/gstreamer-video/src/video_frame.rs index 1ce695051..046ef9877 100644 --- a/gstreamer-video/src/video_frame.rs +++ b/gstreamer-video/src/video_frame.rs @@ -179,9 +179,7 @@ impl VideoFrame { &mut frame, info.to_glib_none().0 as *mut _, buffer.to_glib_none().0, - mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits(), - ), + mem::transmute(ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ), )); if !res { @@ -207,9 +205,7 @@ impl VideoFrame { info.to_glib_none().0 as *mut _, buffer.to_glib_none().0, id, - mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits(), - ), + mem::transmute(ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ), )); if !res { @@ -242,8 +238,8 @@ impl VideoFrame { info.to_glib_none().0 as *mut _, buffer.to_glib_none().0, mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits() - | gst_ffi::GST_MAP_WRITE.bits(), + ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ + | gst_ffi::GST_MAP_WRITE, ), )); @@ -271,8 +267,8 @@ impl VideoFrame { buffer.to_glib_none().0, id, mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits() - | gst_ffi::GST_MAP_WRITE.bits(), + ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ + | gst_ffi::GST_MAP_WRITE, ), )); @@ -341,9 +337,7 @@ impl<'a> VideoFrameRef<&'a gst::BufferRef> { &mut frame, info.to_glib_none().0 as *mut _, buffer.as_mut_ptr(), - mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits(), - ), + mem::transmute(ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ), )); if !res { @@ -369,9 +363,7 @@ impl<'a> VideoFrameRef<&'a gst::BufferRef> { info.to_glib_none().0 as *mut _, buffer.as_mut_ptr(), id, - mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits(), - ), + mem::transmute(ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ), )); if !res { @@ -524,8 +516,8 @@ impl<'a> VideoFrameRef<&'a mut gst::BufferRef> { info.to_glib_none().0 as *mut _, buffer.as_mut_ptr(), mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits() - | gst_ffi::GST_MAP_WRITE.bits(), + ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ + | gst_ffi::GST_MAP_WRITE, ), )); @@ -553,8 +545,8 @@ impl<'a> VideoFrameRef<&'a mut gst::BufferRef> { buffer.as_mut_ptr(), id, mem::transmute( - ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF.bits() | gst_ffi::GST_MAP_READ.bits() - | gst_ffi::GST_MAP_WRITE.bits(), + ffi::GST_VIDEO_FRAME_MAP_FLAG_NO_REF | gst_ffi::GST_MAP_READ + | gst_ffi::GST_MAP_WRITE, ), )); diff --git a/gstreamer-video/src/video_info.rs b/gstreamer-video/src/video_info.rs index d69694992..9561b5fe2 100644 --- a/gstreamer-video/src/video_info.rs +++ b/gstreamer-video/src/video_info.rs @@ -285,7 +285,7 @@ impl<'a> VideoInfoBuilder<'a> { if let Some(multiview_flags) = self.multiview_flags { let ptr = &mut info.ABI._gst_reserved as *mut _ as *mut u32; - ptr::write(ptr.offset(1), multiview_flags.to_glib().bits()); + ptr::write(ptr.offset(1), multiview_flags.to_glib()); } #[cfg(any(feature = "v1_12", feature = "dox"))] @@ -523,9 +523,7 @@ impl VideoInfo { pub fn multiview_flags(&self) -> ::VideoMultiviewFlags { unsafe { let ptr = &self.0.ABI._gst_reserved as *const _ as *const u32; - from_glib(ffi::GstVideoMultiviewFlags::from_bits_truncate(ptr::read( - ptr.offset(1), - ))) + from_glib(ptr::read(ptr.offset(1))) } } diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index 172aa1c05..ef872698b 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 03d7f708e..3a93c0540 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index 03a1153e5..93e06c764 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 4e4b326a1..22ac52be6 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index 35760ad41..261753e43 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index e31758d33..54a098852 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 8927bcfc9..682fef4e2 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 543b8a49e..b7116d9f5 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index a7f8fd548..7b8ea3c41 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 6d56c73c4..e4676ed40 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index d732c9824..a5ca61920 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index cd9bb5044..a33b3cbe4 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 29c79e927..587e62252 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 384848d9c..2c2060a3c 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 9365f21f4..a9a417bca 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -29,7 +29,7 @@ impl ToGlib for BufferCopyFlags { type GlibType = ffi::GstBufferCopyFlags; fn to_glib(&self) -> ffi::GstBufferCopyFlags { - ffi::GstBufferCopyFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -37,7 +37,7 @@ impl ToGlib for BufferCopyFlags { impl FromGlib for BufferCopyFlags { fn from_glib(value: ffi::GstBufferCopyFlags) -> BufferCopyFlags { skip_assert_initialized!(); - BufferCopyFlags::from_bits_truncate(value.bits()) + BufferCopyFlags::from_bits_truncate(value) } } @@ -55,13 +55,13 @@ impl<'a> FromValueOptional<'a> for BufferCopyFlags { impl<'a> FromValue<'a> for BufferCopyFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstBufferCopyFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for BufferCopyFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -89,7 +89,7 @@ impl ToGlib for BufferFlags { type GlibType = ffi::GstBufferFlags; fn to_glib(&self) -> ffi::GstBufferFlags { - ffi::GstBufferFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -97,7 +97,7 @@ impl ToGlib for BufferFlags { impl FromGlib for BufferFlags { fn from_glib(value: ffi::GstBufferFlags) -> BufferFlags { skip_assert_initialized!(); - BufferFlags::from_bits_truncate(value.bits()) + BufferFlags::from_bits_truncate(value) } } @@ -115,13 +115,13 @@ impl<'a> FromValueOptional<'a> for BufferFlags { impl<'a> FromValue<'a> for BufferFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstBufferFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for BufferFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -140,7 +140,7 @@ impl ToGlib for BufferPoolAcquireFlags { type GlibType = ffi::GstBufferPoolAcquireFlags; fn to_glib(&self) -> ffi::GstBufferPoolAcquireFlags { - ffi::GstBufferPoolAcquireFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -148,7 +148,7 @@ impl ToGlib for BufferPoolAcquireFlags { impl FromGlib for BufferPoolAcquireFlags { fn from_glib(value: ffi::GstBufferPoolAcquireFlags) -> BufferPoolAcquireFlags { skip_assert_initialized!(); - BufferPoolAcquireFlags::from_bits_truncate(value.bits()) + BufferPoolAcquireFlags::from_bits_truncate(value) } } @@ -166,13 +166,13 @@ impl<'a> FromValueOptional<'a> for BufferPoolAcquireFlags { impl<'a> FromValue<'a> for BufferPoolAcquireFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstBufferPoolAcquireFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for BufferPoolAcquireFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -204,7 +204,7 @@ impl ToGlib for DebugColorFlags { type GlibType = ffi::GstDebugColorFlags; fn to_glib(&self) -> ffi::GstDebugColorFlags { - ffi::GstDebugColorFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -212,7 +212,7 @@ impl ToGlib for DebugColorFlags { impl FromGlib for DebugColorFlags { fn from_glib(value: ffi::GstDebugColorFlags) -> DebugColorFlags { skip_assert_initialized!(); - DebugColorFlags::from_bits_truncate(value.bits()) + DebugColorFlags::from_bits_truncate(value) } } @@ -230,13 +230,13 @@ impl<'a> FromValueOptional<'a> for DebugColorFlags { impl<'a> FromValue<'a> for DebugColorFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstDebugColorFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for DebugColorFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -257,7 +257,7 @@ impl ToGlib for DebugGraphDetails { type GlibType = ffi::GstDebugGraphDetails; fn to_glib(&self) -> ffi::GstDebugGraphDetails { - ffi::GstDebugGraphDetails::from_bits_truncate(self.bits()) + self.bits() } } @@ -265,7 +265,7 @@ impl ToGlib for DebugGraphDetails { impl FromGlib for DebugGraphDetails { fn from_glib(value: ffi::GstDebugGraphDetails) -> DebugGraphDetails { skip_assert_initialized!(); - DebugGraphDetails::from_bits_truncate(value.bits()) + DebugGraphDetails::from_bits_truncate(value) } } @@ -283,13 +283,13 @@ impl<'a> FromValueOptional<'a> for DebugGraphDetails { impl<'a> FromValue<'a> for DebugGraphDetails { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstDebugGraphDetails::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for DebugGraphDetails { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -310,7 +310,7 @@ impl ToGlib for ElementFlags { type GlibType = ffi::GstElementFlags; fn to_glib(&self) -> ffi::GstElementFlags { - ffi::GstElementFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -318,7 +318,7 @@ impl ToGlib for ElementFlags { impl FromGlib for ElementFlags { fn from_glib(value: ffi::GstElementFlags) -> ElementFlags { skip_assert_initialized!(); - ElementFlags::from_bits_truncate(value.bits()) + ElementFlags::from_bits_truncate(value) } } @@ -336,13 +336,13 @@ impl<'a> FromValueOptional<'a> for ElementFlags { impl<'a> FromValue<'a> for ElementFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstElementFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for ElementFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -362,7 +362,7 @@ impl ToGlib for PadLinkCheck { type GlibType = ffi::GstPadLinkCheck; fn to_glib(&self) -> ffi::GstPadLinkCheck { - ffi::GstPadLinkCheck::from_bits_truncate(self.bits()) + self.bits() } } @@ -370,7 +370,7 @@ impl ToGlib for PadLinkCheck { impl FromGlib for PadLinkCheck { fn from_glib(value: ffi::GstPadLinkCheck) -> PadLinkCheck { skip_assert_initialized!(); - PadLinkCheck::from_bits_truncate(value.bits()) + PadLinkCheck::from_bits_truncate(value) } } @@ -388,13 +388,13 @@ impl<'a> FromValueOptional<'a> for PadLinkCheck { impl<'a> FromValue<'a> for PadLinkCheck { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstPadLinkCheck::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for PadLinkCheck { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -430,7 +430,7 @@ impl ToGlib for PadProbeType { type GlibType = ffi::GstPadProbeType; fn to_glib(&self) -> ffi::GstPadProbeType { - ffi::GstPadProbeType::from_bits_truncate(self.bits()) + self.bits() } } @@ -438,7 +438,7 @@ impl ToGlib for PadProbeType { impl FromGlib for PadProbeType { fn from_glib(value: ffi::GstPadProbeType) -> PadProbeType { skip_assert_initialized!(); - PadProbeType::from_bits_truncate(value.bits()) + PadProbeType::from_bits_truncate(value) } } @@ -456,13 +456,13 @@ impl<'a> FromValueOptional<'a> for PadProbeType { impl<'a> FromValue<'a> for PadProbeType { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstPadProbeType::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for PadProbeType { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -480,7 +480,7 @@ impl ToGlib for ParseFlags { type GlibType = ffi::GstParseFlags; fn to_glib(&self) -> ffi::GstParseFlags { - ffi::GstParseFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -488,7 +488,7 @@ impl ToGlib for ParseFlags { impl FromGlib for ParseFlags { fn from_glib(value: ffi::GstParseFlags) -> ParseFlags { skip_assert_initialized!(); - ParseFlags::from_bits_truncate(value.bits()) + ParseFlags::from_bits_truncate(value) } } @@ -506,13 +506,13 @@ impl<'a> FromValueOptional<'a> for ParseFlags { impl<'a> FromValue<'a> for ParseFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstParseFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for ParseFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -532,7 +532,7 @@ impl ToGlib for PluginDependencyFlags { type GlibType = ffi::GstPluginDependencyFlags; fn to_glib(&self) -> ffi::GstPluginDependencyFlags { - ffi::GstPluginDependencyFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -540,7 +540,7 @@ impl ToGlib for PluginDependencyFlags { impl FromGlib for PluginDependencyFlags { fn from_glib(value: ffi::GstPluginDependencyFlags) -> PluginDependencyFlags { skip_assert_initialized!(); - PluginDependencyFlags::from_bits_truncate(value.bits()) + PluginDependencyFlags::from_bits_truncate(value) } } @@ -558,13 +558,13 @@ impl<'a> FromValueOptional<'a> for PluginDependencyFlags { impl<'a> FromValue<'a> for PluginDependencyFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstPluginDependencyFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for PluginDependencyFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -581,7 +581,7 @@ impl ToGlib for SchedulingFlags { type GlibType = ffi::GstSchedulingFlags; fn to_glib(&self) -> ffi::GstSchedulingFlags { - ffi::GstSchedulingFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -589,7 +589,7 @@ impl ToGlib for SchedulingFlags { impl FromGlib for SchedulingFlags { fn from_glib(value: ffi::GstSchedulingFlags) -> SchedulingFlags { skip_assert_initialized!(); - SchedulingFlags::from_bits_truncate(value.bits()) + SchedulingFlags::from_bits_truncate(value) } } @@ -607,13 +607,13 @@ impl<'a> FromValueOptional<'a> for SchedulingFlags { impl<'a> FromValue<'a> for SchedulingFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstSchedulingFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for SchedulingFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -639,7 +639,7 @@ impl ToGlib for SeekFlags { type GlibType = ffi::GstSeekFlags; fn to_glib(&self) -> ffi::GstSeekFlags { - ffi::GstSeekFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -647,7 +647,7 @@ impl ToGlib for SeekFlags { impl FromGlib for SeekFlags { fn from_glib(value: ffi::GstSeekFlags) -> SeekFlags { skip_assert_initialized!(); - SeekFlags::from_bits_truncate(value.bits()) + SeekFlags::from_bits_truncate(value) } } @@ -665,13 +665,13 @@ impl<'a> FromValueOptional<'a> for SeekFlags { impl<'a> FromValue<'a> for SeekFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstSeekFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for SeekFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -692,7 +692,7 @@ impl ToGlib for SegmentFlags { type GlibType = ffi::GstSegmentFlags; fn to_glib(&self) -> ffi::GstSegmentFlags { - ffi::GstSegmentFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -700,7 +700,7 @@ impl ToGlib for SegmentFlags { impl FromGlib for SegmentFlags { fn from_glib(value: ffi::GstSegmentFlags) -> SegmentFlags { skip_assert_initialized!(); - SegmentFlags::from_bits_truncate(value.bits()) + SegmentFlags::from_bits_truncate(value) } } @@ -718,13 +718,13 @@ impl<'a> FromValueOptional<'a> for SegmentFlags { impl<'a> FromValue<'a> for SegmentFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstSegmentFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for SegmentFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -741,7 +741,7 @@ impl ToGlib for StackTraceFlags { type GlibType = ffi::GstStackTraceFlags; fn to_glib(&self) -> ffi::GstStackTraceFlags { - ffi::GstStackTraceFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -750,7 +750,7 @@ impl ToGlib for StackTraceFlags { impl FromGlib for StackTraceFlags { fn from_glib(value: ffi::GstStackTraceFlags) -> StackTraceFlags { skip_assert_initialized!(); - StackTraceFlags::from_bits_truncate(value.bits()) + StackTraceFlags::from_bits_truncate(value) } } @@ -771,14 +771,14 @@ impl<'a> FromValueOptional<'a> for StackTraceFlags { #[cfg(any(feature = "v1_12", feature = "dox"))] impl<'a> FromValue<'a> for StackTraceFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstStackTraceFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } #[cfg(any(feature = "v1_12", feature = "dox"))] impl SetValue for StackTraceFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -796,7 +796,7 @@ impl ToGlib for StreamFlags { type GlibType = ffi::GstStreamFlags; fn to_glib(&self) -> ffi::GstStreamFlags { - ffi::GstStreamFlags::from_bits_truncate(self.bits()) + self.bits() } } @@ -804,7 +804,7 @@ impl ToGlib for StreamFlags { impl FromGlib for StreamFlags { fn from_glib(value: ffi::GstStreamFlags) -> StreamFlags { skip_assert_initialized!(); - StreamFlags::from_bits_truncate(value.bits()) + StreamFlags::from_bits_truncate(value) } } @@ -822,13 +822,13 @@ impl<'a> FromValueOptional<'a> for StreamFlags { impl<'a> FromValue<'a> for StreamFlags { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstStreamFlags::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } impl SetValue for StreamFlags { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } @@ -849,7 +849,7 @@ impl ToGlib for StreamType { type GlibType = ffi::GstStreamType; fn to_glib(&self) -> ffi::GstStreamType { - ffi::GstStreamType::from_bits_truncate(self.bits()) + self.bits() } } @@ -858,7 +858,7 @@ impl ToGlib for StreamType { impl FromGlib for StreamType { fn from_glib(value: ffi::GstStreamType) -> StreamType { skip_assert_initialized!(); - StreamType::from_bits_truncate(value.bits()) + StreamType::from_bits_truncate(value) } } @@ -879,14 +879,14 @@ impl<'a> FromValueOptional<'a> for StreamType { #[cfg(any(feature = "v1_10", feature = "dox"))] impl<'a> FromValue<'a> for StreamType { unsafe fn from_value(value: &Value) -> Self { - from_glib(ffi::GstStreamType::from_bits_truncate(gobject_ffi::g_value_get_flags(value.to_glib_none().0))) + from_glib(gobject_ffi::g_value_get_flags(value.to_glib_none().0)) } } #[cfg(any(feature = "v1_10", feature = "dox"))] impl SetValue for StreamType { unsafe fn set_value(value: &mut Value, this: &Self) { - gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib().bits()) + gobject_ffi::g_value_set_flags(value.to_glib_none_mut().0, this.to_glib()) } } diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index c5cf8e465..3dd6921f7 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index dc393d2fa..66ee18c1a 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index e7fb1a20a..9dcf1edb9 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 59c49af32..2a8e72f96 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index 09ccc09e5..223d7026b 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index dfecc8fec..9c765d3e5 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index cd9f1c1f7..623b80363 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index 29f034317..3726767c9 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index ff41a822a..dd8390b7e 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index c41b597b0..0530c38b7 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index d2ebe9cc1..3d900c543 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index 65257f248..23ecb9434 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index a97b535ac..5a24862d2 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index e36d87c47..c4950a21a 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index 7bfc1ac9d..6b90befb9 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 83933ebfd..3c023371b 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 1953c85a8..4fb3da1e2 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index 709c1fb7b..4cc0337ad 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index 8e5d4c121..ad70232f0 100644 --- a/gstreamer/src/auto/u_r_i_handler.rs +++ b/gstreamer/src/auto/u_r_i_handler.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ fe7a6ff) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/buffer.rs b/gstreamer/src/buffer.rs index 998012aff..e1e0263fd 100644 --- a/gstreamer/src/buffer.rs +++ b/gstreamer/src/buffer.rs @@ -83,7 +83,7 @@ impl GstRc { }; let user_data = Box::into_raw(b); from_glib_full(ffi::gst_buffer_new_wrapped_full( - ffi::GstMemoryFlags::empty(), + 0, data as glib_ffi::gpointer, size, 0, diff --git a/gstreamer/src/event.rs b/gstreamer/src/event.rs index f711446d4..2b89a4be4 100644 --- a/gstreamer/src/event.rs +++ b/gstreamer/src/event.rs @@ -103,23 +103,23 @@ unsafe impl MiniObject for EventRef { impl EventType { pub fn is_upstream(&self) -> bool { - (self.to_glib() as u32) & (ffi::GST_EVENT_TYPE_UPSTREAM.bits()) != 0 + (self.to_glib() as u32) & ffi::GST_EVENT_TYPE_UPSTREAM != 0 } pub fn is_downstream(&self) -> bool { - (self.to_glib() as u32) & (ffi::GST_EVENT_TYPE_DOWNSTREAM.bits()) != 0 + (self.to_glib() as u32) & ffi::GST_EVENT_TYPE_DOWNSTREAM != 0 } pub fn is_serialized(&self) -> bool { - (self.to_glib() as u32) & (ffi::GST_EVENT_TYPE_SERIALIZED.bits()) != 0 + (self.to_glib() as u32) & ffi::GST_EVENT_TYPE_SERIALIZED != 0 } pub fn is_sticky(&self) -> bool { - (self.to_glib() as u32) & (ffi::GST_EVENT_TYPE_STICKY.bits()) != 0 + (self.to_glib() as u32) & ffi::GST_EVENT_TYPE_STICKY != 0 } pub fn is_sticky_multi(&self) -> bool { - (self.to_glib() as u32) & (ffi::GST_EVENT_TYPE_STICKY_MULTI.bits()) != 0 + (self.to_glib() as u32) & ffi::GST_EVENT_TYPE_STICKY_MULTI != 0 } } diff --git a/gstreamer/src/query.rs b/gstreamer/src/query.rs index 26263997e..b912b56ae 100644 --- a/gstreamer/src/query.rs +++ b/gstreamer/src/query.rs @@ -157,15 +157,15 @@ impl QueryRef { } pub fn is_downstream(&self) -> bool { - unsafe { ((*self.as_ptr()).type_ as u32) & (ffi::GST_QUERY_TYPE_DOWNSTREAM.bits()) != 0 } + unsafe { ((*self.as_ptr()).type_ as u32) & ffi::GST_QUERY_TYPE_DOWNSTREAM != 0 } } pub fn is_upstream(&self) -> bool { - unsafe { ((*self.as_ptr()).type_ as u32) & (ffi::GST_QUERY_TYPE_UPSTREAM.bits()) != 0 } + unsafe { ((*self.as_ptr()).type_ as u32) & ffi::GST_QUERY_TYPE_UPSTREAM != 0 } } pub fn is_serialized(&self) -> bool { - unsafe { ((*self.as_ptr()).type_ as u32) & (ffi::GST_QUERY_TYPE_SERIALIZED.bits()) != 0 } + unsafe { ((*self.as_ptr()).type_ as u32) & ffi::GST_QUERY_TYPE_SERIALIZED != 0 } } pub fn view(&self) -> QueryView<&Self> {