Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-02-22 18:17:46 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-02-22 18:20:40 +0300
commit0616c1870381add9f4583718ff0b963cacf06f0e (patch)
tree577f3db565fed14a9354078733590738a727e23b /generic/threadshare/src/appsrc/imp.rs
parent7c61fd9e7a836bc10d105fe46414f43c7c18f4dd (diff)
Update for changed GLib signals API
Diffstat (limited to 'generic/threadshare/src/appsrc/imp.rs')
-rw-r--r--generic/threadshare/src/appsrc/imp.rs6
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]