From 342d5ab93527de463e5645182b09187dd6fff6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 18 Aug 2017 16:29:21 +0300 Subject: [PATCH] Add signal connectors for property notifications Have to hide some properties again at a later time, which have actual getter/setter functions already. We only need the notification signals for those. Depends on the GIR patch in https://github.com/gtk-rs/gir/pull/441 --- Gir_Gst.toml | 74 +----- Gir_GstApp.toml | 36 --- gstreamer-app/src/auto/app_sink.rs | 123 ++++++++- gstreamer-app/src/auto/app_src.rs | 234 +++++++++++++++++- gstreamer-app/src/auto/enums.rs | 2 +- gstreamer-app/src/auto/flags.rs | 2 +- gstreamer-app/src/auto/mod.rs | 2 +- gstreamer/src/auto/alias.rs | 2 +- gstreamer/src/auto/bin.rs | 36 ++- gstreamer/src/auto/bus.rs | 16 +- gstreamer/src/auto/child_proxy.rs | 2 +- gstreamer/src/auto/clock.rs | 53 +++- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 111 ++++++++- gstreamer/src/auto/device_monitor.rs | 45 +++- 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 | 42 +++- gstreamer/src/auto/pad.rs | 99 +++++++- gstreamer/src/auto/pad_template.rs | 58 ++++- gstreamer/src/auto/pipeline.rs | 59 ++++- gstreamer/src/auto/plugin.rs | 2 +- gstreamer/src/auto/preset.rs | 2 +- gstreamer/src/auto/proxy_pad.rs | 2 +- gstreamer/src/auto/stream.rs | 146 ++++++++++- gstreamer/src/auto/stream_collection.rs | 34 ++- gstreamer/src/auto/system_clock.rs | 22 +- gstreamer/src/auto/tag_setter.rs | 2 +- gstreamer/src/auto/toc_setter.rs | 2 +- gstreamer/src/auto/u_r_i_handler.rs | 2 +- 37 files changed, 1080 insertions(+), 150 deletions(-) diff --git a/Gir_Gst.toml b/Gir_Gst.toml index 424067944..caeb601da 100644 --- a/Gir_Gst.toml +++ b/Gir_Gst.toml @@ -40,6 +40,8 @@ generate = [ "Gst.StructureChangeType", "Gst.StreamStatusType", "Gst.DeviceProvider", + "Gst.Device", + "Gst.DeviceMonitor", "Gst.StreamType", "Gst.StreamFlags", "Gst.PadLinkReturn", @@ -292,38 +294,6 @@ name = "Gst.DeviceProviderFactory" status = "generate" trait = false -[[object]] -name = "Gst.Device" -status = "generate" - [[object.property]] - name = "properties" - # Structure is not a GObject - ignore = true - - [[object.property]] - name = "caps" - # Caps is not a GObject - ignore = true - - [[object.property]] - name = "device-class" - # Has getter/setter functions - ignore = true - - [[object.property]] - name = "display-name" - # Has getter/setter functions - ignore = true - -[[object]] -name = "Gst.DeviceMonitor" -status = "generate" - - [[object.property]] - name = "show-all" - # Has getter/setter functions - ignore = true - [[object]] name = "Gst.Object" # For renaming the trait... @@ -387,11 +357,6 @@ status = "generate" [object.function.return] bool_return_is_error = "Failed to activate mode pad" - [[object.property]] - name = "caps" - # Caps is not a GObject - ignore = true - [[object.function]] name = "remove_probe" # Don't use a ulong @@ -417,11 +382,6 @@ status = "generate" # Buffer can be NULL ignore = true - [[object.property]] - name = "template" - # Has getter/setter functions - ignore = true - [[object.function]] name = "query" # Correct mutability @@ -506,41 +466,11 @@ name = "Gst.Stream" status = "generate" trait = false - [[object.property]] - name = "caps" - # Caps is not a GObject - ignore = true - - [[object.property]] - name = "tags" - # TagList is not a GObject - ignore = true - - [[object.property]] - name = "stream-flags" - # Has setter/getter functions - ignore = true - - [[object.property]] - name = "stream-id" - # Has setter/getter functions - ignore = true - - [[object.property]] - name = "stream-type" - # Has setter/getter functions - ignore = true - [[object]] name = "Gst.StreamCollection" status = "generate" trait = false - [[object.property]] - name = "upstream-id" - # Has setter/getter functions - ignore = true - [[object]] name = "Gst.Plugin" status = "generate" diff --git a/Gir_GstApp.toml b/Gir_GstApp.toml index edac1a183..3d912880a 100644 --- a/Gir_GstApp.toml +++ b/Gir_GstApp.toml @@ -32,16 +32,6 @@ name = "GstApp.AppSink" status = "generate" trait = false - [[object.property]] - name = "buffer-list" - # Has getter function - ignore = true - - [[object.property]] - name = "eos" - # Has getter function - ignore = true - [[object.signal]] name = "pull-sample" # Action signal @@ -87,32 +77,6 @@ trait = false # Action signal ignore = true - [[object.property]] - name = "current-level-bytes" - # Has getter function - ignore = true - - [[object.property]] - name = "duration" - # Has getter function - ignore = true - - [[object.property]] - name = "max-latency" - # Has getter function - ignore = true - - [[object.property]] - name = "min-latency" - # Has getter function - ignore = true - - [[object.property]] - name = "stream-type" - # Has getter function - ignore = true - - [[object]] name = "Gst.Structure" status = "manual" diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 2f11303cd..07a26bec0 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -1,7 +1,8 @@ -// This file was generated by gir (3294959) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ffi; +use glib::Value; use glib::signal::connect; use glib::translate::*; use glib_ffi; @@ -135,6 +136,28 @@ impl AppSink { } } + pub fn get_property_buffer_list(&self) -> bool { + let mut value = Value::from(&false); + unsafe { + 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() + } + + pub fn set_property_buffer_list(&self, buffer_list: bool) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "buffer-list".to_glib_none().0, Value::from(&buffer_list).to_glib_none().0); + } + } + + pub fn get_property_eos(&self) -> bool { + let mut value = Value::from(&false); + unsafe { + 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() + } + pub fn connect_eos(&self, f: F) -> u64 { unsafe { let f: Box_> = Box_::new(Box_::new(f)); @@ -158,6 +181,62 @@ impl AppSink { transmute(new_sample_trampoline as usize), Box_::into_raw(f) as *mut _) } } + + pub fn connect_property_buffer_list_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::buffer-list", + transmute(notify_buffer_list_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_drop_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::drop", + transmute(notify_drop_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_emit_signals_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::emit-signals", + transmute(notify_emit_signals_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_eos_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::eos", + transmute(notify_eos_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_max_buffers_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::max-buffers", + transmute(notify_max_buffers_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_wait_on_eos_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::wait-on-eos", + transmute(notify_wait_on_eos_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for AppSink {} @@ -180,3 +259,45 @@ unsafe extern "C" fn new_sample_trampoline(this: *mut ffi::GstAppSink, f: glib_f let f: &&(Fn(&AppSink) -> gst::FlowReturn + Send + Sync + 'static) = transmute(f); f(&from_glib_none(this)).to_glib() } + +unsafe extern "C" fn notify_buffer_list_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_drop_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_emit_signals_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_eos_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_max_buffers_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_wait_on_eos_trampoline(this: *mut ffi::GstAppSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index db80b33bf..b62123b31 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 (3294959) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use AppStreamType; @@ -153,6 +153,28 @@ impl AppSrc { } } + pub fn get_property_current_level_bytes(&self) -> u64 { + let mut value = Value::from(&0u64); + unsafe { + 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 { + let mut value = Value::from(&0u64); + unsafe { + 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() + } + + pub fn set_property_duration(&self, duration: u64) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "duration".to_glib_none().0, Value::from(&duration).to_glib_none().0); + } + } + pub fn get_property_format(&self) -> gst::Format { let mut value = Value::from(&0); unsafe { @@ -182,6 +204,34 @@ impl AppSrc { } } + pub fn get_property_max_latency(&self) -> i64 { + let mut value = Value::from(&0i64); + unsafe { + 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() + } + + pub fn set_property_max_latency(&self, max_latency: i64) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "max-latency".to_glib_none().0, Value::from(&max_latency).to_glib_none().0); + } + } + + pub fn get_property_min_latency(&self) -> i64 { + let mut value = Value::from(&0i64); + unsafe { + 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() + } + + pub fn set_property_min_latency(&self, min_latency: i64) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "min-latency".to_glib_none().0, Value::from(&min_latency).to_glib_none().0); + } + } + pub fn get_property_min_percent(&self) -> u32 { let mut value = Value::from(&0u32); unsafe { @@ -219,6 +269,110 @@ impl AppSrc { transmute(seek_data_trampoline as usize), Box_::into_raw(f) as *mut _) } } + + pub fn connect_property_block_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::block", + transmute(notify_block_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_current_level_bytes_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::current-level-bytes", + transmute(notify_current_level_bytes_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_duration_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::duration", + transmute(notify_duration_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_emit_signals_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::emit-signals", + transmute(notify_emit_signals_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_format_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::format", + transmute(notify_format_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_is_live_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::is-live", + transmute(notify_is_live_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_max_bytes_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::max-bytes", + transmute(notify_max_bytes_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_max_latency_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::max-latency", + transmute(notify_max_latency_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_min_latency_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::min-latency", + transmute(notify_min_latency_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_min_percent_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::min-percent", + transmute(notify_min_percent_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_size_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::size", + transmute(notify_size_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_stream_type_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::stream-type", + transmute(notify_stream_type_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for AppSrc {} @@ -241,3 +395,81 @@ unsafe extern "C" fn seek_data_trampoline(this: *mut ffi::GstAppSrc, offset: u64 let f: &&(Fn(&AppSrc, u64) -> bool + Send + Sync + 'static) = transmute(f); f(&from_glib_none(this), offset).to_glib() } + +unsafe extern "C" fn notify_block_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_current_level_bytes_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_duration_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_emit_signals_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_format_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_is_live_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_max_bytes_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_max_latency_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_min_latency_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_min_percent_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_size_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_stream_type_trampoline(this: *mut ffi::GstAppSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index 8a5d0399f..d879a6d5f 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 (3294959) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 17773d34a..52317441e 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 (3294959) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 b8db67151..faf0f2713 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 (3294959) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT mod app_sink; diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index 782055d97..5e59f3e59 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT #[allow(unused_imports)] diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 30b548b75..5322ebbe3 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ChildProxy; @@ -103,6 +103,10 @@ pub trait BinExt { fn connect_element_added(&self, f: F) -> u64; fn connect_element_removed(&self, f: F) -> u64; + + fn connect_property_async_handling_notify(&self, f: F) -> u64; + + fn connect_property_message_forward_notify(&self, f: F) -> u64; } impl + IsA> BinExt for O { @@ -281,6 +285,22 @@ impl + IsA> BinExt for O { transmute(element_removed_trampoline:: as usize), Box_::into_raw(f) as *mut _) } } + + fn connect_property_async_handling_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::async-handling", + transmute(notify_async_handling_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_message_forward_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::message-forward", + transmute(notify_message_forward_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } } #[cfg(feature = "v1_10")] @@ -319,3 +339,17 @@ where P: IsA { let f: &&(Fn(&P, &Element) + Send + Sync + 'static) = transmute(f); f(&Bin::from_glib_none(this).downcast_unchecked(), &from_glib_none(element)) } + +unsafe extern "C" fn notify_async_handling_trampoline

(this: *mut ffi::GstBin, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Bin::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_message_forward_trampoline

(this: *mut ffi::GstBin, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Bin::from_glib_none(this).downcast_unchecked()) +} diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 44a1e5b2c..8bd91c710 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ClockTime; @@ -131,6 +131,14 @@ impl Bus { transmute(sync_message_trampoline as usize), Box_::into_raw(f) as *mut _) } } + + pub fn connect_property_enable_async_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::enable-async", + transmute(notify_enable_async_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } impl Default for Bus { @@ -153,3 +161,9 @@ unsafe extern "C" fn sync_message_trampoline(this: *mut ffi::GstBus, message: *m let f: &&(Fn(&Bus, &Message) + Send + Sync + 'static) = transmute(f); f(&from_glib_none(this), &from_glib_none(message)) } + +unsafe extern "C" fn notify_enable_async_trampoline(this: *mut ffi::GstBus, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Bus) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index fc1a711c5..ba99ff0e5 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 2697f4915..d3ef3cece 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ClockTime; @@ -114,6 +114,12 @@ pub trait ClockExt { fn set_property_window_threshold(&self, window_threshold: i32); fn connect_synced(&self, f: F) -> u64; + + fn connect_property_timeout_notify(&self, f: F) -> u64; + + fn connect_property_window_size_notify(&self, f: F) -> u64; + + fn connect_property_window_threshold_notify(&self, f: F) -> u64; } impl + IsA> ClockExt for O { @@ -297,6 +303,30 @@ impl + IsA> ClockExt for O { transmute(synced_trampoline:: as usize), Box_::into_raw(f) as *mut _) } } + + fn connect_property_timeout_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::timeout", + transmute(notify_timeout_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_window_size_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::window-size", + transmute(notify_window_size_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_window_threshold_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::window-threshold", + transmute(notify_window_threshold_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe extern "C" fn synced_trampoline

(this: *mut ffi::GstClock, synced: glib_ffi::gboolean, f: glib_ffi::gpointer) @@ -305,3 +335,24 @@ where P: IsA { let f: &&(Fn(&P, bool) + Send + Sync + 'static) = transmute(f); f(&Clock::from_glib_none(this).downcast_unchecked(), from_glib(synced)) } + +unsafe extern "C" fn notify_timeout_trampoline

(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Clock::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_window_size_trampoline

(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Clock::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_window_threshold_trampoline

(this: *mut ffi::GstClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Clock::from_glib_none(this).downcast_unchecked()) +} diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index ea4da8973..96de09d0d 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index dc341fd7e..02af61ef3 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Caps; @@ -7,6 +7,7 @@ use Object; use Structure; use ffi; use glib; +use glib::Value; use glib::object::Downcast; use glib::object::IsA; use glib::signal::connect; @@ -46,7 +47,23 @@ 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) -> u64; + + fn connect_property_caps_notify(&self, f: F) -> u64; + + fn connect_property_device_class_notify(&self, f: F) -> u64; + + fn connect_property_display_name_notify(&self, f: F) -> u64; + + fn connect_property_properties_notify(&self, f: F) -> u64; } impl + IsA> DeviceExt for O { @@ -100,6 +117,38 @@ impl + IsA> DeviceExt for O { } } + fn get_property_caps(&self) -> Option { + let mut value = Value::from(None::<&Caps>); + unsafe { + 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 { + let mut value = Value::from(None::<&str>); + unsafe { + 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 { + let mut value = Value::from(None::<&str>); + unsafe { + 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 { + let mut value = Value::from(None::<&Structure>); + unsafe { + 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) -> u64 { unsafe { let f: Box_> = Box_::new(Box_::new(f)); @@ -107,6 +156,38 @@ impl + IsA> DeviceExt for O { transmute(removed_trampoline:: as usize), Box_::into_raw(f) as *mut _) } } + + fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_device_class_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::device-class", + transmute(notify_device_class_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_display_name_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::display-name", + transmute(notify_display_name_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_properties_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::properties", + transmute(notify_properties_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe extern "C" fn removed_trampoline

(this: *mut ffi::GstDevice, f: glib_ffi::gpointer) @@ -115,3 +196,31 @@ where P: IsA { let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&Device::from_glib_none(this).downcast_unchecked()) } + +unsafe extern "C" fn notify_caps_trampoline

(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Device::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_device_class_trampoline

(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Device::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_display_name_trampoline

(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Device::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_properties_trampoline

(this: *mut ffi::GstDevice, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Device::from_glib_none(this).downcast_unchecked()) +} diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 4dcd35289..567934ecd 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Bus; @@ -6,11 +6,17 @@ use Caps; use Device; use Object; use ffi; +use glib; +use glib::Value; +use glib::object::Downcast; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -57,9 +63,15 @@ pub trait DeviceMonitorExt { fn start(&self) -> bool; fn stop(&self); + + fn get_property_show_all(&self) -> bool; + + fn set_property_show_all(&self, show_all: bool); + + fn connect_property_show_all_notify(&self, f: F) -> u64; } -impl> DeviceMonitorExt for O { +impl + IsA> DeviceMonitorExt for O { fn add_filter<'a, 'b, P: Into>, Q: Into>>(&self, classes: P, caps: Q) -> u32 { let classes = classes.into(); let classes = classes.to_glib_none(); @@ -117,4 +129,33 @@ impl> DeviceMonitorExt for O { ffi::gst_device_monitor_stop(self.to_glib_none().0); } } + + fn get_property_show_all(&self) -> bool { + let mut value = Value::from(&false); + unsafe { + 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() + } + + fn set_property_show_all(&self, show_all: bool) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "show-all".to_glib_none().0, Value::from(&show_all).to_glib_none().0); + } + } + + fn connect_property_show_all_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::show-all", + transmute(notify_show_all_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } +} + +unsafe extern "C" fn notify_show_all_trampoline

(this: *mut ffi::GstDeviceMonitor, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&DeviceMonitor::from_glib_none(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 213cdc5e8..07feb1fe2 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 f964b0e84..a599bbb23 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use DeviceProvider; diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index 68f70e47e..f670c43dd 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 160ae5df0..03b091bc0 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Caps; diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 7b2a913b1..5544ef375 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 2eb1498f2..2c94476a2 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ffi; diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index c86682d50..3f252b954 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 96dd32ad0..98fe5a5fa 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Object; diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index c0dcbc367..37fcfc195 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT mod bin; diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 9891ee35e..76c43effb 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -1,15 +1,19 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use ClockTime; use Error; use ffi; use glib; +use glib::object::Downcast; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -92,9 +96,13 @@ pub trait GstObjectExt { fn unparent(&self); //fn connect_deep_notify(&self, f: F) -> u64; + + fn connect_property_name_notify(&self, f: F) -> u64; + + fn connect_property_parent_notify(&self, f: F) -> u64; } -impl> GstObjectExt for O { +impl + IsA> GstObjectExt for O { //fn add_control_binding(&self, binding: /*Ignored*/&ControlBinding) -> bool { // unsafe { TODO: call ffi::gst_object_add_control_binding() } //} @@ -228,4 +236,34 @@ impl> GstObjectExt for O { //fn connect_deep_notify(&self, f: F) -> u64 { // Ignored prop: GObject.ParamSpec //} + + fn connect_property_name_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::name", + transmute(notify_name_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_parent_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::parent", + transmute(notify_parent_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } +} + +unsafe extern "C" fn notify_name_trampoline

(this: *mut ffi::GstObject, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Object::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_parent_trampoline

(this: *mut ffi::GstObject, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Object::from_glib_none(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index a85e0f503..d76b21ef8 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Caps; @@ -18,6 +18,7 @@ use PadTemplate; use Stream; use ffi; use glib; +use glib::Value; use glib::object::Downcast; use glib::object::IsA; use glib::signal::connect; @@ -212,9 +213,23 @@ pub trait PadExt { fn use_fixed_caps(&self); + fn get_property_caps(&self) -> Option; + + fn get_property_template(&self) -> Option; + + fn set_property_template(&self, template: Option<&PadTemplate>); + fn connect_linked(&self, f: F) -> u64; fn connect_unlinked(&self, f: F) -> u64; + + fn connect_property_caps_notify(&self, f: F) -> u64; + + fn connect_property_direction_notify(&self, f: F) -> u64; + + fn connect_property_offset_notify(&self, f: F) -> u64; + + fn connect_property_template_notify(&self, f: F) -> u64; } impl + IsA> PadExt for O { @@ -606,6 +621,28 @@ impl + IsA> PadExt for O { } } + fn get_property_caps(&self) -> Option { + let mut value = Value::from(None::<&Caps>); + unsafe { + 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_template(&self) -> Option { + let mut value = Value::from(None::<&PadTemplate>); + unsafe { + gobject_ffi::g_object_get_property(self.to_glib_none().0, "template".to_glib_none().0, value.to_glib_none_mut().0); + } + value.get() + } + + fn set_property_template(&self, template: Option<&PadTemplate>) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "template".to_glib_none().0, Value::from(template).to_glib_none().0); + } + } + fn connect_linked(&self, f: F) -> u64 { unsafe { let f: Box_> = Box_::new(Box_::new(f)); @@ -621,6 +658,38 @@ impl + IsA> PadExt for O { transmute(unlinked_trampoline:: as usize), Box_::into_raw(f) as *mut _) } } + + fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_direction_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::direction", + transmute(notify_direction_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_offset_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::offset", + transmute(notify_offset_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_template_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::template", + transmute(notify_template_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe extern "C" fn linked_trampoline

(this: *mut ffi::GstPad, peer: *mut ffi::GstPad, f: glib_ffi::gpointer) @@ -636,3 +705,31 @@ where P: IsA { let f: &&(Fn(&P, &Pad) + Send + Sync + 'static) = transmute(f); f(&Pad::from_glib_none(this).downcast_unchecked(), &from_glib_none(peer)) } + +unsafe extern "C" fn notify_caps_trampoline

(this: *mut ffi::GstPad, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pad::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_direction_trampoline

(this: *mut ffi::GstPad, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pad::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_offset_trampoline

(this: *mut ffi::GstPad, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pad::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_template_trampoline

(this: *mut ffi::GstPad, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pad::from_glib_none(this).downcast_unchecked()) +} diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 08f51349f..6c8497ce8 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Caps; @@ -77,6 +77,38 @@ impl PadTemplate { transmute(pad_created_trampoline as usize), Box_::into_raw(f) as *mut _) } } + + pub fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_direction_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::direction", + transmute(notify_direction_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_name_template_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::name-template", + transmute(notify_name_template_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_presence_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::presence", + transmute(notify_presence_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for PadTemplate {} @@ -87,3 +119,27 @@ unsafe extern "C" fn pad_created_trampoline(this: *mut ffi::GstPadTemplate, pad: let f: &&(Fn(&PadTemplate, &Pad) + Send + Sync + 'static) = transmute(f); f(&from_glib_none(this), &from_glib_none(pad)) } + +unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstPadTemplate, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PadTemplate) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_direction_trampoline(this: *mut ffi::GstPadTemplate, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PadTemplate) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_name_template_trampoline(this: *mut ffi::GstPadTemplate, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PadTemplate) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_presence_trampoline(this: *mut ffi::GstPadTemplate, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&PadTemplate) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index 8b1985971..eacc35506 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Bin; @@ -8,12 +8,16 @@ use ClockTime; use Element; use Object; use ffi; +use glib; use glib::object::Downcast; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -56,9 +60,15 @@ pub trait PipelineExt { fn set_latency(&self, latency: ClockTime); fn use_clock<'a, P: IsA + 'a, Q: Into>>(&self, clock: Q); + + fn connect_property_auto_flush_bus_notify(&self, f: F) -> u64; + + fn connect_property_delay_notify(&self, f: F) -> u64; + + fn connect_property_latency_notify(&self, f: F) -> u64; } -impl> PipelineExt for O { +impl + IsA> PipelineExt for O { fn auto_clock(&self) { unsafe { ffi::gst_pipeline_auto_clock(self.to_glib_none().0); @@ -114,4 +124,49 @@ impl> PipelineExt for O { ffi::gst_pipeline_use_clock(self.to_glib_none().0, clock.0); } } + + fn connect_property_auto_flush_bus_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::auto-flush-bus", + transmute(notify_auto_flush_bus_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_delay_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::delay", + transmute(notify_delay_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } + + fn connect_property_latency_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::latency", + transmute(notify_latency_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } +} + +unsafe extern "C" fn notify_auto_flush_bus_trampoline

(this: *mut ffi::GstPipeline, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pipeline::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_delay_trampoline

(this: *mut ffi::GstPipeline, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pipeline::from_glib_none(this).downcast_unchecked()) +} + +unsafe extern "C" fn notify_latency_trampoline

(this: *mut ffi::GstPipeline, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&Pipeline::from_glib_none(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index ad6176b44..bff90935c 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Error; diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index bb792c9ed..db4ccdde1 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 b66ec6f5e..ce92ad3d7 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Iterator; diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index f25f80979..bf2bc42c2 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -1,20 +1,20 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT -#[cfg(feature = "v1_10")] use Caps; use Object; -#[cfg(feature = "v1_10")] use StreamFlags; -#[cfg(feature = "v1_10")] use StreamType; -#[cfg(feature = "v1_10")] use TagList; use ffi; +use glib::Value; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -104,7 +104,143 @@ impl Stream { ffi::gst_stream_set_tags(self.to_glib_none().0, tags.0); } } + + pub fn get_property_caps(&self) -> Option { + let mut value = Value::from(None::<&Caps>); + unsafe { + gobject_ffi::g_object_get_property(self.to_glib_none().0, "caps".to_glib_none().0, value.to_glib_none_mut().0); + } + value.get() + } + + pub fn set_property_caps(&self, caps: Option<&Caps>) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "caps".to_glib_none().0, Value::from(caps).to_glib_none().0); + } + } + + pub fn get_property_stream_flags(&self) -> StreamFlags { + let mut value = Value::from(&0u32); + unsafe { + gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-flags".to_glib_none().0, value.to_glib_none_mut().0); + from_glib(transmute(value.get::().unwrap())) + } + } + + pub fn set_property_stream_flags(&self, stream_flags: StreamFlags) { + let stream_flags = stream_flags.to_glib().bits() as u32; + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "stream-flags".to_glib_none().0, Value::from(&stream_flags).to_glib_none().0); + } + } + + pub fn get_property_stream_id(&self) -> Option { + let mut value = Value::from(None::<&str>); + unsafe { + 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() + } + + pub fn get_property_stream_type(&self) -> StreamType { + let mut value = Value::from(&0u32); + unsafe { + gobject_ffi::g_object_get_property(self.to_glib_none().0, "stream-type".to_glib_none().0, value.to_glib_none_mut().0); + from_glib(transmute(value.get::().unwrap())) + } + } + + pub fn set_property_stream_type(&self, stream_type: StreamType) { + let stream_type = stream_type.to_glib().bits() as u32; + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "stream-type".to_glib_none().0, Value::from(&stream_type).to_glib_none().0); + } + } + + pub fn get_property_tags(&self) -> Option { + let mut value = Value::from(None::<&TagList>); + unsafe { + gobject_ffi::g_object_get_property(self.to_glib_none().0, "tags".to_glib_none().0, value.to_glib_none_mut().0); + } + value.get() + } + + pub fn set_property_tags(&self, tags: Option<&TagList>) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "tags".to_glib_none().0, Value::from(tags).to_glib_none().0); + } + } + + pub fn connect_property_caps_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::caps", + transmute(notify_caps_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_stream_flags_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::stream-flags", + transmute(notify_stream_flags_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_stream_id_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::stream-id", + transmute(notify_stream_id_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_stream_type_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::stream-type", + transmute(notify_stream_type_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } + + pub fn connect_property_tags_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::tags", + transmute(notify_tags_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for Stream {} unsafe impl Sync for Stream {} + +unsafe extern "C" fn notify_caps_trampoline(this: *mut ffi::GstStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Stream) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_stream_flags_trampoline(this: *mut ffi::GstStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Stream) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_stream_id_trampoline(this: *mut ffi::GstStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Stream) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_stream_type_trampoline(this: *mut ffi::GstStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Stream) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} + +unsafe extern "C" fn notify_tags_trampoline(this: *mut ffi::GstStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&Stream) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 8efa44241..2d0de08c1 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -1,14 +1,18 @@ -// This file was generated by gir (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Object; #[cfg(feature = "v1_10")] use Stream; use ffi; +use glib::Value; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; +use std::mem::transmute; use std::ptr; glib_wrapper! { @@ -58,10 +62,38 @@ impl StreamCollection { } } + pub fn get_property_upstream_id(&self) -> Option { + let mut value = Value::from(None::<&str>); + unsafe { + 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() + } + + pub fn set_property_upstream_id(&self, upstream_id: Option<&str>) { + unsafe { + gobject_ffi::g_object_set_property(self.to_glib_none().0, "upstream-id".to_glib_none().0, Value::from(upstream_id).to_glib_none().0); + } + } + //pub fn connect_stream_notify(&self, f: F) -> u64 { // Ignored p0: GObject.ParamSpec //} + + pub fn connect_property_upstream_id_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::upstream-id", + transmute(notify_upstream_id_trampoline as usize), Box_::into_raw(f) as *mut _) + } + } } unsafe impl Send for StreamCollection {} unsafe impl Sync for StreamCollection {} + +unsafe extern "C" fn notify_upstream_id_trampoline(this: *mut ffi::GstStreamCollection, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); + let f: &&(Fn(&StreamCollection) + Send + Sync + 'static) = transmute(f); + f(&from_glib_none(this)) +} diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index fd9e217c4..775995546 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Clock; @@ -7,10 +7,13 @@ use Object; use ffi; use glib; use glib::Value; +use glib::object::Downcast; use glib::object::IsA; +use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; +use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; use std::ptr; @@ -46,6 +49,8 @@ pub trait SystemClockExt { fn get_property_clock_type(&self) -> ClockType; fn set_property_clock_type(&self, clock_type: ClockType); + + fn connect_property_clock_type_notify(&self, f: F) -> u64; } impl + IsA> SystemClockExt for O { @@ -63,4 +68,19 @@ impl + IsA> SystemClockExt for O { gobject_ffi::g_object_set_property(self.to_glib_none().0, "clock-type".to_glib_none().0, Value::from(&clock_type).to_glib_none().0); } } + + fn connect_property_clock_type_notify(&self, f: F) -> u64 { + unsafe { + let f: Box_> = Box_::new(Box_::new(f)); + connect(self.to_glib_none().0, "notify::clock-type", + transmute(notify_clock_type_trampoline:: as usize), Box_::into_raw(f) as *mut _) + } + } +} + +unsafe extern "C" fn notify_clock_type_trampoline

(this: *mut ffi::GstSystemClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) +where P: IsA { + callback_guard!(); + let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); + f(&SystemClock::from_glib_none(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 59111d98b..04655c123 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) 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 c18393ded..2c4cb4330 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Element; diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index 85fccc26c..92371aad8 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 (651da6e) from gir-files (???) +// This file was generated by gir (cfd99ec+) from gir-files (???) // DO NOT EDIT use Error;