diff options
author | François Laignel <fengalin@free.fr> | 2021-04-12 19:12:05 +0300 |
---|---|---|
committer | François Laignel <fengalin@free.fr> | 2021-04-13 18:24:20 +0300 |
commit | 7d17f88941323013b7e2413aadaf53832a085195 (patch) | |
tree | 65a823b82489af25875062b96e37ef229506455e /generic/threadshare/src/appsrc/imp.rs | |
parent | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff) |
post fix-getters manual updates
Diffstat (limited to 'generic/threadshare/src/appsrc/imp.rs')
-rw-r--r-- | generic/threadshare/src/appsrc/imp.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/threadshare/src/appsrc/imp.rs b/generic/threadshare/src/appsrc/imp.rs index 932c6801b..f3952178a 100644 --- a/generic/threadshare/src/appsrc/imp.rs +++ b/generic/threadshare/src/appsrc/imp.rs @@ -529,14 +529,14 @@ impl ObjectImpl for AppSrc { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpec::string( + glib::ParamSpec::new_string( "context", "Context", "Context name to share threads with", Some(DEFAULT_CONTEXT), glib::ParamFlags::READWRITE, ), - glib::ParamSpec::uint( + glib::ParamSpec::new_uint( "context-wait", "Context Wait", "Throttle poll loop to run at most once every this many ms", @@ -545,7 +545,7 @@ impl ObjectImpl for AppSrc { DEFAULT_CONTEXT_WAIT, glib::ParamFlags::READWRITE, ), - glib::ParamSpec::uint( + glib::ParamSpec::new_uint( "max-buffers", "Max Buffers", "Maximum number of buffers to queue up", @@ -554,14 +554,14 @@ impl ObjectImpl for AppSrc { DEFAULT_MAX_BUFFERS, glib::ParamFlags::READWRITE, ), - glib::ParamSpec::boxed( + glib::ParamSpec::new_boxed( "caps", "Caps", "Caps to use", gst::Caps::static_type(), glib::ParamFlags::READWRITE, ), - glib::ParamSpec::boolean( + glib::ParamSpec::new_boolean( "do-timestamp", "Do Timestamp", "Timestamp buffers with the current running time on arrival", |