From 6d0d7a3df8c80ad2c68b91d750a6e1b834d4a798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Feb 2018 16:42:34 +0200 Subject: [PATCH] Regenerate everything with latest GIR --- gstreamer-app/src/auto/app_sink.rs | 8 ++-- gstreamer-app/src/auto/app_src.rs | 32 ++++--------- gstreamer-app/src/auto/enums.rs | 2 +- gstreamer-app/src/auto/flags.rs | 2 +- gstreamer-app/src/auto/mod.rs | 2 +- gstreamer-audio/src/auto/enums.rs | 2 +- gstreamer-audio/src/auto/flags.rs | 2 +- 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 | 11 ++--- gstreamer-base/src/auto/base_src.rs | 8 ++-- gstreamer-base/src/auto/base_transform.rs | 5 +- 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 | 23 ++++----- gstreamer-net/src/auto/net_time_provider.rs | 14 ++---- gstreamer-net/src/auto/ntp_clock.rs | 2 +- gstreamer-net/src/auto/ptp_clock.rs | 14 ++---- 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 | 11 ++--- .../src/auto/player_audio_info.rs | 2 +- ...player_g_main_context_signal_dispatcher.rs | 5 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 2 +- .../src/auto/player_stream_info.rs | 12 ++--- .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 5 +- .../src/auto/player_video_renderer.rs | 2 +- .../src/auto/player_visualization.rs | 2 +- gstreamer-video/src/auto/enums.rs | 2 +- gstreamer-video/src/auto/flags.rs | 2 +- gstreamer-video/src/auto/mod.rs | 2 +- gstreamer-video/src/auto/video_filter.rs | 2 +- gstreamer-video/src/auto/video_overlay.rs | 2 +- gstreamer/src/auto/alias.rs | 2 +- gstreamer/src/auto/bin.rs | 8 ++-- gstreamer/src/auto/bus.rs | 2 +- gstreamer/src/auto/child_proxy.rs | 2 +- gstreamer/src/auto/clock.rs | 8 ++-- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 48 +------------------ gstreamer/src/auto/device_monitor.rs | 5 +- 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 | 2 +- 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 | 8 ++-- gstreamer/src/auto/pad_template.rs | 11 ++--- 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 | 17 +++---- gstreamer/src/auto/stream_collection.rs | 5 +- gstreamer/src/auto/system_clock.rs | 5 +- 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 +- 77 files changed, 134 insertions(+), 241 deletions(-) diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index dd3346cab..f9f58bf0d 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -146,8 +146,7 @@ impl AppSink { pub fn get_property_buffer_list(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "buffer-list".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -161,8 +160,7 @@ impl AppSink { pub fn get_property_eos(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "eos".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 894f6ba67..5ac39f4a6 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use AppStreamType; @@ -134,8 +134,7 @@ impl AppSrc { pub fn get_property_block(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "block".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -147,19 +146,9 @@ impl AppSrc { } } - pub fn get_property_current_level_bytes(&self) -> u64 { - unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); - gobject_ffi::g_object_get_property(self.to_glib_none().0, "current-level-bytes".to_glib_none().0, value.to_glib_none_mut().0); - value.get().unwrap() - } - } - pub fn get_property_duration(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "duration".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -173,8 +162,7 @@ impl AppSrc { pub fn get_property_format(&self) -> gst::Format { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "format".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -188,8 +176,7 @@ impl AppSrc { pub fn get_property_is_live(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "is-live".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -203,8 +190,7 @@ impl AppSrc { pub fn get_property_max_latency(&self) -> i64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "max-latency".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -218,8 +204,7 @@ impl AppSrc { pub fn get_property_min_latency(&self) -> i64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "min-latency".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -233,8 +218,7 @@ impl AppSrc { pub fn get_property_min_percent(&self) -> u32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "min-percent".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index 2bed954ba..74cdba08a 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-app/src/auto/flags.rs b/gstreamer-app/src/auto/flags.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-app/src/auto/mod.rs b/gstreamer-app/src/auto/mod.rs index bf339384a..5e78d6c13 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod app_sink; diff --git a/gstreamer-audio/src/auto/enums.rs b/gstreamer-audio/src/auto/enums.rs index e0579c7a2..498c59305 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index 3f65d097a..a9869e82c 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-audio/src/auto/mod.rs b/gstreamer-audio/src/auto/mod.rs index 6340458ed..5077d7bdb 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod stream_volume; diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index a5261f036..38b4d183c 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use StreamVolumeFormat; diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index 599194dcf..2a09338d0 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 718b934b4..78726ca6a 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -315,8 +315,7 @@ impl + IsA> BaseSinkExt for O { fn get_property_async(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "async".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -330,8 +329,7 @@ impl + IsA> BaseSinkExt for O { fn get_property_enable_last_sample(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "enable-last-sample".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -345,8 +343,7 @@ impl + IsA> BaseSinkExt for O { fn get_property_qos(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "qos".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index 50aba06a6..ef164000a 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -206,8 +206,7 @@ impl + IsA> BaseSrcExt for O { fn get_property_num_buffers(&self) -> i32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "num-buffers".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -221,8 +220,7 @@ impl + IsA> BaseSrcExt for O { fn get_property_typefind(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "typefind".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index e18575429..86265b2bd 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -152,8 +152,7 @@ impl + IsA> BaseTransformExt for O { fn get_property_qos(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "qos".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-base/src/auto/enums.rs b/gstreamer-base/src/auto/enums.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-base/src/auto/flags.rs b/gstreamer-base/src/auto/flags.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index 91c1886cf..32a4c2d66 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-base/src/auto/mod.rs b/gstreamer-base/src/auto/mod.rs index 365c498f6..1345ffddd 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod adapter; diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 7d09a5c3d..fd2a8ebb5 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use BaseSrc; diff --git a/gstreamer-net/src/auto/enums.rs b/gstreamer-net/src/auto/enums.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-net/src/auto/flags.rs b/gstreamer-net/src/auto/flags.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-net/src/auto/mod.rs b/gstreamer-net/src/auto/mod.rs index cecced6b9..cc8c62bc2 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod net_client_clock; diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index 3edbe44e4..a03e811ee 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -40,8 +40,7 @@ impl NetClientClock { pub fn get_property_address(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "address".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -55,8 +54,7 @@ impl NetClientClock { pub fn get_property_base_time(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "base-time".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -64,8 +62,7 @@ impl NetClientClock { pub fn get_property_bus(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "bus".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -79,8 +76,7 @@ impl NetClientClock { pub fn get_property_internal_clock(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "internal-clock".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -88,8 +84,7 @@ impl NetClientClock { pub fn get_property_minimum_update_interval(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "minimum-update-interval".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -103,8 +98,7 @@ impl NetClientClock { pub fn get_property_port(&self) -> i32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "port".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -118,8 +112,7 @@ impl NetClientClock { pub fn get_property_round_trip_limit(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "round-trip-limit".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 382576a1d..0d6713d0f 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -39,8 +39,7 @@ impl NetTimeProvider { pub fn get_property_active(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "active".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -54,8 +53,7 @@ impl NetTimeProvider { pub fn get_property_address(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "address".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -63,8 +61,7 @@ impl NetTimeProvider { pub fn get_property_clock(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "clock".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -72,8 +69,7 @@ impl NetTimeProvider { pub fn get_property_port(&self) -> i32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "port".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index 77e4b4ae9..340d7b558 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use NetClientClock; diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 7f42fabf7..c68a164ce 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -40,8 +40,7 @@ impl PtpClock { pub fn get_property_domain(&self) -> u32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "domain".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -49,8 +48,7 @@ impl PtpClock { pub fn get_property_grandmaster_clock_id(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "grandmaster-clock-id".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -58,8 +56,7 @@ impl PtpClock { pub fn get_property_internal_clock(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "internal-clock".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -67,8 +64,7 @@ impl PtpClock { pub fn get_property_master_clock_id(&self) -> u64 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "master-clock-id".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 5250321fe..025da9398 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/flags.rs b/gstreamer-player/src/auto/flags.rs index 956a81a14..28738409e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/mod.rs b/gstreamer-player/src/auto/mod.rs index a24f134c6..7055e659b 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod player; diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 815c74882..41e059648 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Error; @@ -285,8 +285,7 @@ impl Player { pub fn get_property_suburi(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "suburi".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -300,8 +299,7 @@ impl Player { pub fn get_property_video_multiview_flags(&self) -> gst_video::VideoMultiviewFlags { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-multiview-flags".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -315,8 +313,7 @@ impl Player { pub fn get_property_video_multiview_mode(&self) -> gst_video::VideoMultiviewFramePacking { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-multiview-mode".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index ed4af38f2..54e136b0e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; 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 71ff6f70b..81d27d5d7 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerSignalDispatcher; @@ -27,8 +27,7 @@ glib_wrapper! { impl PlayerGMainContextSignalDispatcher { pub fn get_property_application_context(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "application-context".to_glib_none().0, value.to_glib_none_mut().0); value.get() } diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 35354d24f..e07928ffa 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerAudioInfo; diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 70d041488..8fb6003de 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 4e30429b3..3abbbaf5a 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; @@ -36,31 +36,31 @@ pub trait PlayerStreamInfoExt { impl> PlayerStreamInfoExt for O { fn get_caps(&self) -> Option { unsafe { - from_glib_none(ffi::gst_player_stream_info_get_caps(self.to_glib_none().0)) + from_glib_none(ffi::gst_player_stream_info_get_caps(const_override(self.to_glib_none().0))) } } fn get_codec(&self) -> Option { unsafe { - from_glib_none(ffi::gst_player_stream_info_get_codec(self.to_glib_none().0)) + from_glib_none(ffi::gst_player_stream_info_get_codec(const_override(self.to_glib_none().0))) } } fn get_index(&self) -> i32 { unsafe { - ffi::gst_player_stream_info_get_index(self.to_glib_none().0) + ffi::gst_player_stream_info_get_index(const_override(self.to_glib_none().0)) } } fn get_stream_type(&self) -> String { unsafe { - from_glib_none(ffi::gst_player_stream_info_get_stream_type(self.to_glib_none().0)) + from_glib_none(ffi::gst_player_stream_info_get_stream_type(const_override(self.to_glib_none().0))) } } fn get_tags(&self) -> Option { unsafe { - from_glib_none(ffi::gst_player_stream_info_get_tags(self.to_glib_none().0)) + from_glib_none(ffi::gst_player_stream_info_get_tags(const_override(self.to_glib_none().0))) } } } diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index 66d3e1fa1..0097c5949 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index c4d84b48f..59f8405da 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerStreamInfo; 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 4e6433d84..0469cefa4 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use PlayerVideoRenderer; @@ -60,8 +60,7 @@ impl PlayerVideoOverlayVideoRenderer { pub fn get_property_video_sink(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "video-sink".to_glib_none().0, value.to_glib_none_mut().0); value.get() } diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 145009cf9..11103e555 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index b009e0788..e737269f6 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index 83b7cc809..1f4a6e632 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index 86ca3dd14..f84f33cbd 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/mod.rs b/gstreamer-video/src/auto/mod.rs index 71b4bf251..3fefd58bc 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod video_filter; diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index c8dfdc9c9..beebf81af 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index 0a6bd775e..fc491e9fb 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index 864ea408d..244a11ff7 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT #[allow(unused_imports)] diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index f09aa27e7..6e20ed9e9 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ChildProxy; @@ -207,8 +207,7 @@ impl + IsA> BinExt for O { fn get_property_async_handling(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "async-handling".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -222,8 +221,7 @@ impl + IsA> BinExt for O { fn get_property_message_forward(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "message-forward".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 70db0640e..965aa391e 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ClockTime; diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index 1b059be7f..baa8cae0a 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index d820d59dd..cd290db39 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ClockTime; @@ -256,8 +256,7 @@ impl + IsA> ClockExt for O { fn get_property_window_size(&self) -> i32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "window-size".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -271,8 +270,7 @@ impl + IsA> ClockExt for O { fn get_property_window_threshold(&self) -> i32 { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "window-threshold".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index d390fe11f..4c7dc4398 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 4947c6b3d..d33c1b09b 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; @@ -7,8 +7,6 @@ use Object; use Structure; use ffi; use glib; -use glib::StaticType; -use glib::Value; use glib::object::Downcast; use glib::object::IsA; use glib::signal::SignalHandlerId; @@ -49,14 +47,6 @@ pub trait DeviceExt { fn reconfigure_element>(&self, element: &P) -> bool; - fn get_property_caps(&self) -> Option; - - fn get_property_device_class(&self) -> Option; - - fn get_property_display_name(&self) -> Option; - - fn get_property_properties(&self) -> Option; - fn connect_removed(&self, f: F) -> SignalHandlerId; fn connect_property_caps_notify(&self, f: F) -> SignalHandlerId; @@ -119,42 +109,6 @@ impl + IsA> DeviceExt for O { } } - fn get_property_caps(&self) -> Option { - unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); - gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0); - value.get() - } - } - - fn get_property_device_class(&self) -> Option { - unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); - gobject_ffi::g_object_get_property(self.to_glib_none().0, "device-class".to_glib_none().0, value.to_glib_none_mut().0); - value.get() - } - } - - fn get_property_display_name(&self) -> Option { - unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); - gobject_ffi::g_object_get_property(self.to_glib_none().0, "display-name".to_glib_none().0, value.to_glib_none_mut().0); - value.get() - } - } - - fn get_property_properties(&self) -> Option { - unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); - gobject_ffi::g_object_get_property(self.to_glib_none().0, "properties".to_glib_none().0, value.to_glib_none_mut().0); - value.get() - } - } - fn connect_removed(&self, f: F) -> SignalHandlerId { unsafe { let f: Box_> = Box_::new(Box_::new(f)); diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 1551a5322..5d1190f17 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Bus; @@ -134,8 +134,7 @@ impl + IsA> DeviceMonitorExt for O { fn get_property_show_all(&self) -> bool { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "show-all".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 9988bba0f..5436695e4 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Bus; diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 78953a715..c84170968 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use DeviceProvider; diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 341c9462b..176b3ca28 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Bus; diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index f0a68806f..5efe03865 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 860726832..65d967a16 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index c7a19624b..31e3daa37 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 7de3282c5..acf8b021d 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Bin; diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 0a5a32675..5066883f7 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index c371a5267..289fda3e5 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT mod bin; diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 90b116409..93f25c29b 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ClockTime; diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index bb63a2113..b13e2da37 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; @@ -538,8 +538,7 @@ impl + IsA> PadExt for O { fn get_property_caps(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -547,8 +546,7 @@ impl + IsA> PadExt for O { fn get_property_template(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "template".to_glib_none().0, value.to_glib_none_mut().0); value.get() } diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 78152af19..2d70081be 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; @@ -50,8 +50,7 @@ impl PadTemplate { pub fn get_property_direction(&self) -> PadDirection { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "direction".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -59,8 +58,7 @@ impl PadTemplate { pub fn get_property_name_template(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "name-template".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -68,8 +66,7 @@ impl PadTemplate { pub fn get_property_presence(&self) -> PadPresence { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "presence".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 4f39acb9a..0b027de44 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Bin; diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index c36d98095..4d898e592 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Error; diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index e1e28b5af..b5d50cc5b 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 4cac3b857..ebf4a1d4b 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 306593c65..c834a6c37 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index 8ef115eae..282af9c8e 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index d303a4faf..ac81ba428 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; @@ -109,8 +109,7 @@ impl Stream { pub fn get_property_caps(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -124,8 +123,7 @@ impl Stream { pub fn get_property_stream_flags(&self) -> StreamFlags { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-flags".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -139,8 +137,7 @@ impl Stream { pub fn get_property_stream_id(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-id".to_glib_none().0, value.to_glib_none_mut().0); value.get() } @@ -148,8 +145,7 @@ impl Stream { pub fn get_property_stream_type(&self) -> StreamType { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-type".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } @@ -163,8 +159,7 @@ impl Stream { pub fn get_property_tags(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "tags".to_glib_none().0, value.to_glib_none_mut().0); value.get() } diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 7f8ad1b23..882593401 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Object; @@ -66,8 +66,7 @@ impl StreamCollection { pub fn get_property_upstream_id(&self) -> Option { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "upstream-id".to_glib_none().0, value.to_glib_none_mut().0); value.get() } diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index a292acd53..c8ef09c1e 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Clock; @@ -60,8 +60,7 @@ pub trait SystemClockExt { impl + IsA> SystemClockExt for O { fn get_property_clock_type(&self) -> ClockType { unsafe { - let mut value = Value::uninitialized(); - gobject_ffi::g_value_init(value.to_glib_none_mut().0, ::static_type().to_glib()); + let mut value = Value::from_type(::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "clock-type".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index fa7a1f1de..9817d026c 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Element; diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index bcf4d08e1..f3809c777 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Element; diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index 77a4570cd..661c5b885 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index b5239c79e..faa0086e2 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 (d50d839) from gir-files (???) +// This file was generated by gir (746446b) from gir-files (???) // DO NOT EDIT use Error;