diff --git a/gstreamer-app/Gir.toml b/gstreamer-app/Gir.toml index 1a6df5e95..fb238a820 100644 --- a/gstreamer-app/Gir.toml +++ b/gstreamer-app/Gir.toml @@ -61,6 +61,14 @@ final_type = true # Action signal ignore = true + [[object.signal]] + name = "new-sample" + concurrency = "send" + + [[object.signal]] + name = "new-preroll" + concurrency = "send" + [[object.signal]] name = "eos" concurrency = "send" diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index 38f1da998..4d943ffad 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -210,13 +210,13 @@ impl AppSink { #[doc(alias = "new-preroll")] pub fn connect_new_preroll< - F: Fn(&AppSink) -> Result + Send + Sync + 'static, + F: Fn(&AppSink) -> Result + Send + 'static, >( &self, f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_preroll_trampoline< - F: Fn(&AppSink) -> Result + Send + Sync + 'static, + F: Fn(&AppSink) -> Result + Send + 'static, >( this: *mut ffi::GstAppSink, f: glib::ffi::gpointer, @@ -239,13 +239,13 @@ impl AppSink { #[doc(alias = "new-sample")] pub fn connect_new_sample< - F: Fn(&AppSink) -> Result + Send + Sync + 'static, + F: Fn(&AppSink) -> Result + Send + 'static, >( &self, f: F, ) -> SignalHandlerId { unsafe extern "C" fn new_sample_trampoline< - F: Fn(&AppSink) -> Result + Send + Sync + 'static, + F: Fn(&AppSink) -> Result + Send + 'static, >( this: *mut ffi::GstAppSink, f: glib::ffi::gpointer,