diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-02-22 18:17:46 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-02-22 18:20:40 +0300 |
commit | 0616c1870381add9f4583718ff0b963cacf06f0e (patch) | |
tree | 577f3db565fed14a9354078733590738a727e23b /generic/threadshare/src/appsrc/imp.rs | |
parent | 7c61fd9e7a836bc10d105fe46414f43c7c18f4dd (diff) |
Update for changed GLib signals API
Diffstat (limited to 'generic/threadshare/src/appsrc/imp.rs')
-rw-r--r-- | generic/threadshare/src/appsrc/imp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs index e34ef3150..f264bb30b 100644 --- a/generic/threadshare/src/appsrc/imp.rs +++ b/generic/threadshare/src/appsrc/imp.rs @@ -584,8 +584,8 @@ impl ObjectImpl for AppSrc { vec![ glib::subclass::Signal::builder( "push-buffer", - &[gst::Buffer::static_type()], - bool::static_type(), + &[gst::Buffer::static_type().into()], + bool::static_type().into(), ) .action() .class_handler(|_, args| { @@ -602,7 +602,7 @@ impl ObjectImpl for AppSrc { Some(appsrc.push_buffer(&element, buffer).to_value()) }) .build(), - glib::subclass::Signal::builder("end-of-stream", &[], bool::static_type()) + glib::subclass::Signal::builder("end-of-stream", &[], bool::static_type().into()) .action() .class_handler(|_, args| { let element = args[0] |