From 808ff293ec4f2ef0d77d891ed7ce2b8470c07183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 2 Mar 2018 21:25:12 +0200 Subject: [PATCH] Regenerate everything with latest gir --- Gir_Gst.toml | 5 ++++ Gir_GstBase.toml | 4 +++ gstreamer-app/src/auto/app_sink.rs | 12 +++++++- gstreamer-app/src/auto/app_src.rs | 18 +++++++++++- 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 | 4 ++- gstreamer-base/src/auto/adapter.rs | 2 +- gstreamer-base/src/auto/base_sink.rs | 13 ++++++++- gstreamer-base/src/auto/base_src.rs | 6 +++- gstreamer-base/src/auto/base_transform.rs | 3 +- 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 | 9 +++++- gstreamer-net/src/auto/net_time_provider.rs | 6 +++- gstreamer-net/src/auto/ntp_clock.rs | 2 +- gstreamer-net/src/auto/ptp_clock.rs | 6 +++- gstreamer-pbutils/src/auto/discoverer.rs | 6 +++- .../src/auto/discoverer_audio_info.rs | 2 +- .../src/auto/discoverer_container_info.rs | 2 +- gstreamer-pbutils/src/auto/discoverer_info.rs | 2 +- .../src/auto/discoverer_stream_info.rs | 2 +- .../src/auto/discoverer_subtitle_info.rs | 2 +- .../src/auto/discoverer_video_info.rs | 2 +- gstreamer-pbutils/src/auto/enums.rs | 2 +- gstreamer-pbutils/src/auto/flags.rs | 2 +- gstreamer-pbutils/src/auto/mod.rs | 2 +- gstreamer-player/src/auto/enums.rs | 2 +- gstreamer-player/src/auto/flags.rs | 2 +- gstreamer-player/src/auto/mod.rs | 2 +- gstreamer-player/src/auto/player.rs | 29 ++++++++++++++++++- .../src/auto/player_audio_info.rs | 2 +- ...player_g_main_context_signal_dispatcher.rs | 3 +- .../src/auto/player_media_info.rs | 2 +- .../src/auto/player_signal_dispatcher.rs | 2 +- .../src/auto/player_stream_info.rs | 2 +- .../src/auto/player_subtitle_info.rs | 2 +- .../src/auto/player_video_info.rs | 2 +- .../player_video_overlay_video_renderer.rs | 4 ++- .../src/auto/player_video_renderer.rs | 2 +- .../src/auto/player_visualization.rs | 2 +- gstreamer-rtsp-server/src/auto/enums.rs | 2 +- gstreamer-rtsp-server/src/auto/flags.rs | 2 +- gstreamer-rtsp-server/src/auto/mod.rs | 2 +- .../src/auto/r_t_s_p_address.rs | 2 +- .../src/auto/r_t_s_p_address_pool.rs | 2 +- .../src/auto/r_t_s_p_auth.rs | 3 +- .../src/auto/r_t_s_p_client.rs | 28 +++++++++++++++++- .../src/auto/r_t_s_p_media.rs | 21 +++++++++++++- .../src/auto/r_t_s_p_media_factory.rs | 15 +++++++++- .../src/auto/r_t_s_p_media_factory_u_r_i.rs | 4 ++- .../src/auto/r_t_s_p_mount_points.rs | 2 +- .../src/auto/r_t_s_p_server.rs | 9 +++++- .../src/auto/r_t_s_p_session.rs | 5 +++- .../src/auto/r_t_s_p_session_media.rs | 2 +- .../src/auto/r_t_s_p_session_pool.rs | 4 ++- .../src/auto/r_t_s_p_stream.rs | 7 ++++- .../src/auto/r_t_s_p_stream_transport.rs | 2 +- .../src/auto/r_t_s_p_thread_pool.rs | 3 +- .../src/auto/r_t_s_p_token.rs | 2 +- gstreamer-rtsp/src/auto/enums.rs | 2 +- gstreamer-rtsp/src/auto/flags.rs | 2 +- gstreamer-rtsp/src/auto/mod.rs | 2 +- gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs | 2 +- gstreamer-rtsp/src/auto/r_t_s_p_url.rs | 2 +- gstreamer-sdp/src/auto/enums.rs | 2 +- gstreamer-sdp/src/auto/flags.rs | 2 +- gstreamer-sdp/src/auto/mod.rs | 2 +- gstreamer-video/src/auto/enums.rs | 2 +- gstreamer-video/src/auto/flags.rs | 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 | 9 +++++- gstreamer/src/auto/bus.rs | 5 +++- gstreamer/src/auto/child_proxy.rs | 4 ++- gstreamer/src/auto/clock.rs | 6 +++- gstreamer/src/auto/date_time.rs | 2 +- gstreamer/src/auto/device.rs | 7 ++++- gstreamer/src/auto/device_monitor.rs | 3 +- gstreamer/src/auto/device_provider.rs | 4 ++- gstreamer/src/auto/device_provider_factory.rs | 2 +- gstreamer/src/auto/element.rs | 5 +++- 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 | 4 ++- gstreamer/src/auto/pad.rs | 8 ++++- gstreamer/src/auto/pad_template.rs | 7 ++++- gstreamer/src/auto/pipeline.rs | 5 +++- 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 | 4 ++- gstreamer/src/auto/stream.rs | 7 ++++- gstreamer/src/auto/stream_collection.rs | 3 +- gstreamer/src/auto/system_clock.rs | 3 +- 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 +- 116 files changed, 347 insertions(+), 114 deletions(-) diff --git a/Gir_Gst.toml b/Gir_Gst.toml index 67061c45d..242ea42eb 100644 --- a/Gir_Gst.toml +++ b/Gir_Gst.toml @@ -804,6 +804,11 @@ status = "generate" [[object]] name = "Gst.*" status = "generate" + # We'll opt-in for constants at a later time + [[object.constant]] + pattern = ".+" + ignore = true + [[object.function]] name = "util_dump_mem" ignore = true diff --git a/Gir_GstBase.toml b/Gir_GstBase.toml index ee5bc128a..ad1255858 100644 --- a/Gir_GstBase.toml +++ b/Gir_GstBase.toml @@ -75,6 +75,10 @@ concurrency = "none" [[object]] name = "GstBase.*" status = "generate" + # We'll opt-in for constants at a later time + [[object.constant]] + pattern = ".+" + ignore = true [[object.function]] name = "type_find_helper_for_data" diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index c764b188e..7b94f5e96 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -252,51 +252,61 @@ unsafe impl Send for AppSink {} unsafe impl Sync for AppSink {} unsafe extern "C" fn eos_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&AppSink) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn new_preroll_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) -> gst_ffi::GstFlowReturn { + callback_guard!(); let f: &&(Fn(&AppSink) -> gst::FlowReturn + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)).to_glib() } unsafe extern "C" fn new_sample_trampoline(this: *mut ffi::GstAppSink, f: glib_ffi::gpointer) -> gst_ffi::GstFlowReturn { + callback_guard!(); let f: &&(Fn(&AppSink) -> gst::FlowReturn + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this)) } diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index e7a872ab7..088658c89 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -364,81 +364,97 @@ unsafe impl Send for AppSrc {} unsafe impl Sync for AppSrc {} unsafe extern "C" fn enough_data_trampoline(this: *mut ffi::GstAppSrc, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&AppSrc) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn need_data_trampoline(this: *mut ffi::GstAppSrc, length: libc::c_uint, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&AppSrc, u32) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), length) } unsafe extern "C" fn seek_data_trampoline(this: *mut ffi::GstAppSrc, offset: u64, f: glib_ffi::gpointer) -> glib_ffi::gboolean { + callback_guard!(); let f: &&(Fn(&AppSrc, u64) -> bool + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this)) } diff --git a/gstreamer-app/src/auto/enums.rs b/gstreamer-app/src/auto/enums.rs index 874c25180..c985025ce 100644 --- a/gstreamer-app/src/auto/enums.rs +++ b/gstreamer-app/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/flags.rs b/gstreamer-app/src/auto/flags.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-app/src/auto/flags.rs +++ b/gstreamer-app/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-app/src/auto/mod.rs b/gstreamer-app/src/auto/mod.rs index 70c3b7393..84c27ef5e 100644 --- a/gstreamer-app/src/auto/mod.rs +++ b/gstreamer-app/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/enums.rs b/gstreamer-audio/src/auto/enums.rs index 6a679b815..2fe0f525a 100644 --- a/gstreamer-audio/src/auto/enums.rs +++ b/gstreamer-audio/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/flags.rs b/gstreamer-audio/src/auto/flags.rs index a5fd5bccf..696189a5f 100644 --- a/gstreamer-audio/src/auto/flags.rs +++ b/gstreamer-audio/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/mod.rs b/gstreamer-audio/src/auto/mod.rs index 4190d4e56..a78ec07ef 100644 --- a/gstreamer-audio/src/auto/mod.rs +++ b/gstreamer-audio/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index 6915ce0ec..491265701 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -95,12 +95,14 @@ impl + IsA> StreamVolumeExt for O { unsafe extern "C" fn notify_mute_trampoline

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

(this: *mut ffi::GstStreamVolume, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&StreamVolume::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index f835fb00e..47d05f4e6 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index 15391956b..e9c3e8d1c 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -447,66 +447,77 @@ impl + IsA> BaseSinkExt for O { unsafe extern "C" fn notify_async_trampoline

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

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GstBaseSink, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&BaseSink::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index d3e8647f2..6ae54f480 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -268,24 +268,28 @@ impl + IsA> BaseSrcExt for O { unsafe extern "C" fn notify_blocksize_trampoline

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

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

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

(this: *mut ffi::GstBaseSrc, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&BaseSrc::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index 63f2e3c4b..6481e6a42 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -176,6 +176,7 @@ impl + IsA> BaseTransformExt for O { unsafe extern "C" fn notify_qos_trampoline

(this: *mut ffi::GstBaseTransform, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&BaseTransform::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-base/src/auto/enums.rs b/gstreamer-base/src/auto/enums.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-base/src/auto/enums.rs +++ b/gstreamer-base/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/flags.rs b/gstreamer-base/src/auto/flags.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-base/src/auto/flags.rs +++ b/gstreamer-base/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index c30e435a2..906cde45b 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/mod.rs b/gstreamer-base/src/auto/mod.rs index fd4433be4..089d1914f 100644 --- a/gstreamer-base/src/auto/mod.rs +++ b/gstreamer-base/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index 2aac47315..e0ff158fd 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/enums.rs b/gstreamer-net/src/auto/enums.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-net/src/auto/enums.rs +++ b/gstreamer-net/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/flags.rs b/gstreamer-net/src/auto/flags.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-net/src/auto/flags.rs +++ b/gstreamer-net/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/mod.rs b/gstreamer-net/src/auto/mod.rs index 716f0b8a2..f35292682 100644 --- a/gstreamer-net/src/auto/mod.rs +++ b/gstreamer-net/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index d80f7c19e..3a6e9d57a 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -186,36 +186,43 @@ unsafe impl Send for NetClientClock {} unsafe impl Sync for NetClientClock {} unsafe extern "C" fn notify_address_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_base_time_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_bus_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_internal_clock_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_minimum_update_interval_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_port_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_round_trip_limit_trampoline(this: *mut ffi::GstNetClientClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetClientClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index cc1ed0269..aeab9802b 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -113,21 +113,25 @@ unsafe impl Send for NetTimeProvider {} unsafe impl Sync for NetTimeProvider {} unsafe extern "C" fn notify_active_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_address_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_clock_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_port_trampoline(this: *mut ffi::GstNetTimeProvider, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&NetTimeProvider) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index e87c18e08..f1916960d 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index 4acce5c27..bddef107c 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -108,21 +108,25 @@ unsafe impl Send for PtpClock {} unsafe impl Sync for PtpClock {} unsafe extern "C" fn notify_domain_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_grandmaster_clock_id_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_internal_clock_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_master_clock_id_trampoline(this: *mut ffi::GstPtpClock, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PtpClock) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 8ab89037f..f223515cb 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -99,21 +99,25 @@ unsafe impl Send for Discoverer {} unsafe impl Sync for Discoverer {} unsafe extern "C" fn discovered_trampoline(this: *mut ffi::GstDiscoverer, info: *mut ffi::GstDiscovererInfo, error: *mut glib_ffi::GError, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Discoverer, &DiscovererInfo, &Option) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(info), &from_glib_borrow(error)) } unsafe extern "C" fn finished_trampoline(this: *mut ffi::GstDiscoverer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Discoverer) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn source_setup_trampoline(this: *mut ffi::GstDiscoverer, source: *mut gst_ffi::GstElement, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Discoverer, &gst::Element) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(source)) } unsafe extern "C" fn starting_trampoline(this: *mut ffi::GstDiscoverer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Discoverer) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index 84a8dbd4c..ac5f3ce56 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index e45d2a75d..6daf6f845 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index 4b94801f5..ea9413a34 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index 1ff1e40db..cce37eb25 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index f9bcc32a2..8e8b6bef5 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index edff05bbd..a5886f81b 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/enums.rs b/gstreamer-pbutils/src/auto/enums.rs index ab0a46c77..b4cdf61a2 100644 --- a/gstreamer-pbutils/src/auto/enums.rs +++ b/gstreamer-pbutils/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/flags.rs b/gstreamer-pbutils/src/auto/flags.rs index 92cfb8018..6e3ae9e5c 100644 --- a/gstreamer-pbutils/src/auto/flags.rs +++ b/gstreamer-pbutils/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-pbutils/src/auto/mod.rs b/gstreamer-pbutils/src/auto/mod.rs index e0d2343fe..b5c11f7d4 100644 --- a/gstreamer-pbutils/src/auto/mod.rs +++ b/gstreamer-pbutils/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/enums.rs b/gstreamer-player/src/auto/enums.rs index 8a70622e9..ba08fbe0d 100644 --- a/gstreamer-player/src/auto/enums.rs +++ b/gstreamer-player/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/flags.rs b/gstreamer-player/src/auto/flags.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-player/src/auto/flags.rs +++ b/gstreamer-player/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/mod.rs b/gstreamer-player/src/auto/mod.rs index f4ac17aca..124e34bc4 100644 --- a/gstreamer-player/src/auto/mod.rs +++ b/gstreamer-player/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index 94ded7fe2..2f4f22172 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -575,136 +575,163 @@ unsafe impl Send for Player {} unsafe impl Sync for Player {} unsafe extern "C" fn buffering_trampoline(this: *mut ffi::GstPlayer, object: libc::c_int, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, i32) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), object) } unsafe extern "C" fn end_of_stream_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn error_trampoline(this: *mut ffi::GstPlayer, object: *mut glib_ffi::GError, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, &Error) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(object)) } unsafe extern "C" fn media_info_updated_trampoline(this: *mut ffi::GstPlayer, object: *mut ffi::GstPlayerMediaInfo, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, &PlayerMediaInfo) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(object)) } unsafe extern "C" fn mute_changed_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn state_changed_trampoline(this: *mut ffi::GstPlayer, object: ffi::GstPlayerState, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, PlayerState) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), from_glib(object)) } unsafe extern "C" fn uri_loaded_trampoline(this: *mut ffi::GstPlayer, object: *mut libc::c_char, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, &str) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), &String::from_glib_none(object)) } unsafe extern "C" fn video_dimensions_changed_trampoline(this: *mut ffi::GstPlayer, object: libc::c_int, p0: libc::c_int, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, i32, i32) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), object, p0) } unsafe extern "C" fn volume_changed_trampoline(this: *mut ffi::GstPlayer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn warning_trampoline(this: *mut ffi::GstPlayer, object: *mut glib_ffi::GError, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player, &Error) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(object)) } unsafe extern "C" fn notify_audio_video_offset_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_current_audio_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_current_subtitle_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_current_video_track_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_duration_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_media_info_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_mute_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_pipeline_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_position_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_rate_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_signal_dispatcher_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_suburi_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_uri_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_video_multiview_flags_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_video_multiview_mode_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_video_renderer_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_volume_trampoline(this: *mut ffi::GstPlayer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Player) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index a235974c3..a9949a01e 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs index c134bdbc6..64405fe27 100644 --- a/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_g_main_context_signal_dispatcher.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -47,6 +47,7 @@ unsafe impl Send for PlayerGMainContextSignalDispatcher {} unsafe impl Sync for PlayerGMainContextSignalDispatcher {} unsafe extern "C" fn notify_application_context_trampoline(this: *mut ffi::GstPlayerGMainContextSignalDispatcher, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PlayerGMainContextSignalDispatcher) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index 0b871067c..ec581bfe0 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index e47e5b4fe..9162f5a4b 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 1de29622e..8331c5c08 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index fa65fc556..d8b688d8a 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index a39755670..f23b57e6b 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 6302067ba..2fb9c97c6 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -102,11 +102,13 @@ unsafe impl Send for PlayerVideoOverlayVideoRenderer {} unsafe impl Sync for PlayerVideoOverlayVideoRenderer {} unsafe extern "C" fn notify_video_sink_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } unsafe extern "C" fn notify_window_handle_trampoline(this: *mut ffi::GstPlayerVideoOverlayVideoRenderer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PlayerVideoOverlayVideoRenderer) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this)) } diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index 402465ec3..a4aeafc61 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index aa47e26c1..dacbd8a6c 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/enums.rs b/gstreamer-rtsp-server/src/auto/enums.rs index 380fb4bc8..0e0da6902 100644 --- a/gstreamer-rtsp-server/src/auto/enums.rs +++ b/gstreamer-rtsp-server/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/flags.rs b/gstreamer-rtsp-server/src/auto/flags.rs index b50d62028..c0375721d 100644 --- a/gstreamer-rtsp-server/src/auto/flags.rs +++ b/gstreamer-rtsp-server/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/mod.rs b/gstreamer-rtsp-server/src/auto/mod.rs index ffa45190d..a2b953d5b 100644 --- a/gstreamer-rtsp-server/src/auto/mod.rs +++ b/gstreamer-rtsp-server/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs index 46ab89c52..fd43f4a73 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_address.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs index 776b31738..d23bd7114 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_address_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs index 7c3f959a8..e3081e459 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_auth.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -193,6 +193,7 @@ impl + IsA> RTSPAuthExt for O { unsafe extern "C" fn accept_certificate_trampoline

(this: *mut ffi::GstRTSPAuth, connection: *mut gio_ffi::GTlsConnection, peer_cert: *mut gio_ffi::GTlsCertificate, errors: gio_ffi::GTlsCertificateFlags, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &gio::TlsConnection, &gio::TlsCertificate, gio::TlsCertificateFlags) -> bool + Send + Sync + 'static) = transmute(f); f(&RTSPAuth::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(connection), &from_glib_borrow(peer_cert), from_glib(errors)).to_glib() } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs index da7ebfabe..b3040fa15 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_client.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -486,54 +486,63 @@ impl + IsA> RTSPClientExt for O { unsafe extern "C" fn announce_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn closed_trampoline

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

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn get_parameter_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn handle_response_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn new_session_trampoline

(this: *mut ffi::GstRTSPClient, object: *mut ffi::GstRTSPSession, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPSession) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn options_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn pause_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn play_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } @@ -541,6 +550,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_announce_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -548,6 +558,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_describe_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -555,6 +566,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_get_parameter_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -562,6 +574,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_options_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -569,6 +582,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_pause_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -576,6 +590,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_play_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -583,6 +598,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_record_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -590,6 +606,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_set_parameter_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -597,6 +614,7 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_setup_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } @@ -604,48 +622,56 @@ where P: IsA { #[cfg(any(feature = "v1_12", feature = "dox"))] unsafe extern "C" fn pre_teardown_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) -> gst_rtsp_ffi::GstRTSPStatusCode where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) -> gst_rtsp::RTSPStatusCode + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)).to_glib() } unsafe extern "C" fn record_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn set_parameter_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn setup_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn teardown_request_trampoline

(this: *mut ffi::GstRTSPClient, ctx: *mut ffi::GstRTSPContext, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPContext) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(ctx)) } unsafe extern "C" fn notify_drop_backlog_trampoline

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

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

(this: *mut ffi::GstRTSPClient, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPClient::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs index d2c42fc6a..9f240dd0e 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -713,114 +713,133 @@ impl + IsA> RTSPMediaExt for O { unsafe extern "C" fn new_state_trampoline

(this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, i32) + Send + Sync + 'static) = transmute(f); f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), object) } unsafe extern "C" fn new_stream_trampoline

(this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPStream) + Send + Sync + 'static) = transmute(f); f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn prepared_trampoline

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

(this: *mut ffi::GstRTSPMedia, object: *mut ffi::GstRTSPStream, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPStream) + Send + Sync + 'static) = transmute(f); f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn target_state_trampoline

(this: *mut ffi::GstRTSPMedia, object: libc::c_int, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, i32) + Send + Sync + 'static) = transmute(f); f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked(), object) } unsafe extern "C" fn unprepared_trampoline

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

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

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

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

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GstRTSPMedia, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPMedia::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs index 192f08938..c75cc4468 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -513,78 +513,91 @@ impl + IsA> RTSPMediaFactoryExt f unsafe extern "C" fn media_configure_trampoline

(this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPMedia) + Send + Sync + 'static) = transmute(f); f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn media_constructed_trampoline

(this: *mut ffi::GstRTSPMediaFactory, object: *mut ffi::GstRTSPMedia, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPMedia) + Send + Sync + 'static) = transmute(f); f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn notify_buffer_size_trampoline

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

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

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

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

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

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

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

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

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

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

(this: *mut ffi::GstRTSPMediaFactory, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPMediaFactory::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs index b6e9136fb..980c67293 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_media_factory_u_r_i.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -105,12 +105,14 @@ impl + IsA> RTSPMediaFactoryUR unsafe extern "C" fn notify_uri_trampoline

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

(this: *mut ffi::GstRTSPMediaFactoryURI, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPMediaFactoryURI::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs index 45aca45c2..8927f5b20 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_mount_points.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs index cc54d4aa0..7bff59c29 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_server.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -300,42 +300,49 @@ impl + IsA> RTSPServerExt for O { unsafe extern "C" fn client_connected_trampoline

(this: *mut ffi::GstRTSPServer, object: *mut ffi::GstRTSPClient, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPClient) + Send + Sync + 'static) = transmute(f); f(&RTSPServer::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn notify_address_trampoline

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

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

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

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

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

(this: *mut ffi::GstRTSPServer, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPServer::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs index b0545d586..ccb4b6fd9 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -210,18 +210,21 @@ impl + IsA> RTSPSessionExt for O { unsafe extern "C" fn notify_sessionid_trampoline

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

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

(this: *mut ffi::GstRTSPSession, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPSession::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs index f0b228451..761350d96 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_media.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs index 0b4fb4741..97feee706 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_session_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -131,12 +131,14 @@ impl + IsA> RTSPSessionPoolExt for unsafe extern "C" fn session_removed_trampoline

(this: *mut ffi::GstRTSPSessionPool, object: *mut ffi::GstRTSPSession, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &RTSPSession) + Send + Sync + 'static) = transmute(f); f(&RTSPSessionPool::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn notify_max_sessions_trampoline

(this: *mut ffi::GstRTSPSessionPool, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPSessionPool::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs index 3e408c601..660cef996 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -557,30 +557,35 @@ impl + IsA> RTSPStreamExt for O { unsafe extern "C" fn new_rtcp_encoder_trampoline

(this: *mut ffi::GstRTSPStream, object: *mut gst_ffi::GstElement, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &gst::Element) + Send + Sync + 'static) = transmute(f); f(&RTSPStream::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn new_rtp_encoder_trampoline

(this: *mut ffi::GstRTSPStream, object: *mut gst_ffi::GstElement, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &gst::Element) + Send + Sync + 'static) = transmute(f); f(&RTSPStream::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object)) } unsafe extern "C" fn notify_control_trampoline

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

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

(this: *mut ffi::GstRTSPStream, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPStream::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs index 011567d75..12c9af019 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_stream_transport.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs index 252d13693..9847d7623 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_thread_pool.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -87,6 +87,7 @@ impl + IsA> RTSPThreadPoolExt for O unsafe extern "C" fn notify_max_threads_trampoline

(this: *mut ffi::GstRTSPThreadPool, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&RTSPThreadPool::from_glib_borrow(this).downcast_unchecked()) } diff --git a/gstreamer-rtsp-server/src/auto/r_t_s_p_token.rs b/gstreamer-rtsp-server/src/auto/r_t_s_p_token.rs index 5f00e2951..69a4b5e02 100644 --- a/gstreamer-rtsp-server/src/auto/r_t_s_p_token.rs +++ b/gstreamer-rtsp-server/src/auto/r_t_s_p_token.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ bd67955) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/enums.rs b/gstreamer-rtsp/src/auto/enums.rs index 1c6d62288..beb2a801c 100644 --- a/gstreamer-rtsp/src/auto/enums.rs +++ b/gstreamer-rtsp/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/flags.rs b/gstreamer-rtsp/src/auto/flags.rs index a02fe2225..aa0d361a5 100644 --- a/gstreamer-rtsp/src/auto/flags.rs +++ b/gstreamer-rtsp/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/mod.rs b/gstreamer-rtsp/src/auto/mod.rs index 774cc7ef9..3459c21fa 100644 --- a/gstreamer-rtsp/src/auto/mod.rs +++ b/gstreamer-rtsp/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs b/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs index 20febd034..54022ba0f 100644 --- a/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs +++ b/gstreamer-rtsp/src/auto/r_t_s_p_auth_param.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-rtsp/src/auto/r_t_s_p_url.rs b/gstreamer-rtsp/src/auto/r_t_s_p_url.rs index d025299fc..2c22a5dfa 100644 --- a/gstreamer-rtsp/src/auto/r_t_s_p_url.rs +++ b/gstreamer-rtsp/src/auto/r_t_s_p_url.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/enums.rs b/gstreamer-sdp/src/auto/enums.rs index 0c34d9a5c..61e958843 100644 --- a/gstreamer-sdp/src/auto/enums.rs +++ b/gstreamer-sdp/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/flags.rs b/gstreamer-sdp/src/auto/flags.rs index fe9b15727..82b595c32 100644 --- a/gstreamer-sdp/src/auto/flags.rs +++ b/gstreamer-sdp/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-sdp/src/auto/mod.rs b/gstreamer-sdp/src/auto/mod.rs index 236a1fe18..c52529c7c 100644 --- a/gstreamer-sdp/src/auto/mod.rs +++ b/gstreamer-sdp/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/enums.rs b/gstreamer-video/src/auto/enums.rs index f1b81fef5..37e3193fe 100644 --- a/gstreamer-video/src/auto/enums.rs +++ b/gstreamer-video/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/flags.rs b/gstreamer-video/src/auto/flags.rs index 91031ac13..8667fc364 100644 --- a/gstreamer-video/src/auto/flags.rs +++ b/gstreamer-video/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/mod.rs b/gstreamer-video/src/auto/mod.rs index 2112e34e6..d145fa60e 100644 --- a/gstreamer-video/src/auto/mod.rs +++ b/gstreamer-video/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index 72828c620..b0642c65c 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index f55c11f4d..50b925cf6 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/alias.rs b/gstreamer/src/auto/alias.rs index 2fdb31a36..45ea7f154 100644 --- a/gstreamer/src/auto/alias.rs +++ b/gstreamer/src/auto/alias.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index 093c86f63..1a764c617 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -296,6 +296,7 @@ impl + IsA> BinExt for O { #[cfg(any(feature = "v1_10", feature = "dox"))] unsafe extern "C" fn deep_element_added_trampoline

(this: *mut ffi::GstBin, sub_bin: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Bin, &Element) + Send + Sync + 'static) = transmute(f); f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(sub_bin), &from_glib_borrow(element)) } @@ -303,36 +304,42 @@ where P: IsA { #[cfg(any(feature = "v1_10", feature = "dox"))] unsafe extern "C" fn deep_element_removed_trampoline

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

(this: *mut ffi::GstBin, f: glib_ffi::gpointer) -> glib_ffi::gboolean where P: IsA { + callback_guard!(); let f: &&(Fn(&P) -> bool + Send + Sync + 'static) = transmute(f); f(&Bin::from_glib_borrow(this).downcast_unchecked()).to_glib() } unsafe extern "C" fn element_added_trampoline

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

(this: *mut ffi::GstBin, element: *mut ffi::GstElement, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Element) + Send + Sync + 'static) = transmute(f); f(&Bin::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 7d9d4fb5a..b0f8073b5 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -148,16 +148,19 @@ unsafe impl Send for Bus {} unsafe impl Sync for Bus {} unsafe extern "C" fn message_trampoline(this: *mut ffi::GstBus, message: *mut ffi::GstMessage, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Bus, &Message) + Send + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(message)) } unsafe extern "C" fn sync_message_trampoline(this: *mut ffi::GstBus, message: *mut ffi::GstMessage, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Bus, &Message) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(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_borrow(this)) } diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index f09bfc2fa..135a232e2 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -136,12 +136,14 @@ impl + IsA> ChildProxyExt for O { unsafe extern "C" fn child_added_trampoline

(this: *mut ffi::GstChildProxy, object: *mut gobject_ffi::GObject, name: *mut libc::c_char, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &glib::Object, &str) + Send + Sync + 'static) = transmute(f); f(&ChildProxy::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object), &String::from_glib_none(name)) } unsafe extern "C" fn child_removed_trampoline

(this: *mut ffi::GstChildProxy, object: *mut gobject_ffi::GObject, name: *mut libc::c_char, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &glib::Object, &str) + Send + Sync + 'static) = transmute(f); f(&ChildProxy::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(object), &String::from_glib_none(name)) } diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 46d4bd817..2ed192070 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -318,24 +318,28 @@ impl + IsA> ClockExt for O { unsafe extern "C" fn synced_trampoline

(this: *mut ffi::GstClock, synced: glib_ffi::gboolean, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, bool) + Send + Sync + 'static) = transmute(f); f(&Clock::from_glib_borrow(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_borrow(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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index f8a1ed8a3..2edb34075 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index 60d093be5..0732bb118 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -153,30 +153,35 @@ impl + IsA> DeviceExt for O { unsafe extern "C" fn removed_trampoline

(this: *mut ffi::GstDevice, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P) + Send + Sync + 'static) = transmute(f); f(&Device::from_glib_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index 35202c575..e8c9d6019 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -158,6 +158,7 @@ impl + IsA> DeviceMonitorExt for O { 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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index 2a90a1dfa..7ac4e17e3 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -158,12 +158,14 @@ impl + IsA> DeviceProviderExt for O unsafe extern "C" fn provider_hidden_trampoline

(this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &str) + Send + Sync + 'static) = transmute(f); f(&DeviceProvider::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(object)) } unsafe extern "C" fn provider_unhidden_trampoline

(this: *mut ffi::GstDeviceProvider, object: *mut libc::c_char, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &str) + Send + Sync + 'static) = transmute(f); f(&DeviceProvider::from_glib_borrow(this).downcast_unchecked(), &String::from_glib_none(object)) } diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 818a32b23..fbe438c13 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index cf566bcef..e8f1efdc5 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -503,18 +503,21 @@ impl + IsA> ElementExt for O { unsafe extern "C" fn no_more_pads_trampoline

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

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

(this: *mut ffi::GstElement, old_pad: *mut ffi::GstPad, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Pad) + Send + Sync + 'static) = transmute(f); f(&Element::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(old_pad)) } diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 7653d5d5b..fe631736a 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 515f79dfb..be6173036 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/flags.rs b/gstreamer/src/auto/flags.rs index 06e642806..2492d83f9 100644 --- a/gstreamer/src/auto/flags.rs +++ b/gstreamer/src/auto/flags.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index 3527e2374..93bd79af5 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index 2feb1e257..7dd8d106e 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/mod.rs b/gstreamer/src/auto/mod.rs index c3a657ee1..3120ac194 100644 --- a/gstreamer/src/auto/mod.rs +++ b/gstreamer/src/auto/mod.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index 154c0fa16..239e2bb2f 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -256,12 +256,14 @@ impl + IsA> GstObjectExt for O { 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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index f9042e987..d8ecde3e8 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -610,36 +610,42 @@ impl + IsA> PadExt for O { unsafe extern "C" fn linked_trampoline

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

(this: *mut ffi::GstPad, peer: *mut ffi::GstPad, f: glib_ffi::gpointer) where P: IsA { + callback_guard!(); let f: &&(Fn(&P, &Pad) + Send + Sync + 'static) = transmute(f); f(&Pad::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index b1c08b807..c490157a0 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -118,26 +118,31 @@ unsafe impl Send for PadTemplate {} unsafe impl Sync for PadTemplate {} unsafe extern "C" fn pad_created_trampoline(this: *mut ffi::GstPadTemplate, pad: *mut ffi::GstPad, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&PadTemplate, &Pad) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this)) } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index a600ee609..fe0eb5abd 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -154,18 +154,21 @@ impl + IsA> PipelineExt for O { 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_borrow(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_borrow(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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index c92f0e682..b5320cdf6 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index 146a784b9..fd88884b7 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index cf6b2ac4f..8a2d652fb 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index bf6f588ce..fe709461f 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index bd5d684ae..12aa61eba 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -148,11 +148,13 @@ unsafe impl Send for Registry {} unsafe impl Sync for Registry {} unsafe extern "C" fn feature_added_trampoline(this: *mut ffi::GstRegistry, feature: *mut ffi::GstPluginFeature, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Registry, &PluginFeature) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(feature)) } unsafe extern "C" fn plugin_added_trampoline(this: *mut ffi::GstRegistry, plugin: *mut ffi::GstPlugin, f: glib_ffi::gpointer) { + callback_guard!(); let f: &&(Fn(&Registry, &Plugin) + Send + Sync + 'static) = transmute(f); f(&from_glib_borrow(this), &from_glib_borrow(plugin)) } diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index f08fc16c8..a2fc2101a 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -217,26 +217,31 @@ 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_borrow(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_borrow(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_borrow(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_borrow(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_borrow(this)) } diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 4f0ac1ed3..6c6395b12 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -96,6 +96,7 @@ 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_borrow(this)) } diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index ec6e23f55..0ec6edbd0 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT @@ -84,6 +84,7 @@ impl + IsA> SystemClockExt for O { 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_borrow(this).downcast_unchecked()) } diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index 783a94fd4..142ea7513 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 56fd542a1..988be96c0 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index c9b7d0c34..e28539895 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT diff --git a/gstreamer/src/auto/u_r_i_handler.rs b/gstreamer/src/auto/u_r_i_handler.rs index 2268ba1c1..8d5ede135 100644 --- a/gstreamer/src/auto/u_r_i_handler.rs +++ b/gstreamer/src/auto/u_r_i_handler.rs @@ -1,4 +1,4 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) +// This file was generated by gir (https://github.com/gtk-rs/gir @ fbb95f4) // from gir-files (https://github.com/gtk-rs/gir-files @ ???) // DO NOT EDIT