diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-08-17 23:37:39 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-08-17 23:37:39 +0300 |
commit | 374bb8323ff187222c472457ac8b7921f48c8854 (patch) | |
tree | 0c25fe56782d3d32f143c66469c2205b1e53b58f /generic/threadshare/src/appsrc | |
parent | 2c99f66ea583b15aeff1ba9f9ae56a192d80ea13 (diff) |
Fix build after glib SignalBuilder::param_types() API change
Diffstat (limited to 'generic/threadshare/src/appsrc')
-rw-r--r-- | generic/threadshare/src/appsrc/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs index 7f5a6360e..8389a21c3 100644 --- a/generic/threadshare/src/appsrc/imp.rs +++ b/generic/threadshare/src/appsrc/imp.rs @@ -508,7 +508,7 @@ impl ObjectImpl for AppSrc { static SIGNALS: Lazy<Vec<glib::subclass::Signal>> = Lazy::new(|| { vec![ glib::subclass::Signal::builder("push-buffer") - .param_types(&[gst::Buffer::static_type()]) + .param_types([gst::Buffer::static_type()]) .return_type::<bool>() .action() .class_handler(|_, args| { |