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/tcpclientsrc | |
parent | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff) |
post fix-getters manual updates
Diffstat (limited to 'generic/threadshare/src/tcpclientsrc')
-rw-r--r-- | generic/threadshare/src/tcpclientsrc/imp.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/threadshare/src/tcpclientsrc/imp.rs b/generic/threadshare/src/tcpclientsrc/imp.rs index 86ed5b69a..3bff5fe58 100644 --- a/generic/threadshare/src/tcpclientsrc/imp.rs +++ b/generic/threadshare/src/tcpclientsrc/imp.rs @@ -569,14 +569,14 @@ impl ObjectImpl for TcpClientSrc { 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", @@ -585,14 +585,14 @@ impl ObjectImpl for TcpClientSrc { DEFAULT_CONTEXT_WAIT, glib::ParamFlags::READWRITE, ), - glib::ParamSpec::string( + glib::ParamSpec::new_string( "host", "Host", "The host IP address to receive packets from", DEFAULT_HOST, glib::ParamFlags::READWRITE, ), - glib::ParamSpec::int( + glib::ParamSpec::new_int( "port", "Port", "Port to receive packets from", @@ -601,14 +601,14 @@ impl ObjectImpl for TcpClientSrc { DEFAULT_PORT, glib::ParamFlags::READWRITE, ), - glib::ParamSpec::boxed( + glib::ParamSpec::new_boxed( "caps", "Caps", "Caps to use", gst::Caps::static_type(), glib::ParamFlags::READWRITE, ), - glib::ParamSpec::uint( + glib::ParamSpec::new_uint( "blocksize", "Blocksize", "Size in bytes to read per buffer (-1 = default)", |