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 /video/closedcaption | |
parent | 06accc8d98cc2876bcacfc6f9e097af690b4e64f (diff) |
post fix-getters manual updates
Diffstat (limited to 'video/closedcaption')
-rw-r--r-- | video/closedcaption/src/ccdetect/imp.rs | 6 | ||||
-rw-r--r-- | video/closedcaption/src/cea608overlay/imp.rs | 2 | ||||
-rw-r--r-- | video/closedcaption/src/mcc_enc/imp.rs | 4 | ||||
-rw-r--r-- | video/closedcaption/src/tttocea608/imp.rs | 6 | ||||
-rw-r--r-- | video/closedcaption/src/tttojson/imp.rs | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/video/closedcaption/src/ccdetect/imp.rs b/video/closedcaption/src/ccdetect/imp.rs index f67ff0e42..cc4230d3b 100644 --- a/video/closedcaption/src/ccdetect/imp.rs +++ b/video/closedcaption/src/ccdetect/imp.rs @@ -225,7 +225,7 @@ impl ObjectImpl for CCDetect { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpec::uint64( + glib::ParamSpec::new_uint64( "window", "Window", "Window of time (in ns) to determine if captions exist in the stream", @@ -234,14 +234,14 @@ impl ObjectImpl for CCDetect { DEFAULT_WINDOW, glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, ), - glib::ParamSpec::boolean( + glib::ParamSpec::new_boolean( "cc608", "cc608", "Whether CEA608 captions (CC1/CC3) have been detected", DEFAULT_CC608, glib::ParamFlags::READABLE, ), - glib::ParamSpec::boolean( + glib::ParamSpec::new_boolean( "cc708", "cc608", "Whether CEA708 captions (cc_data) have been detected", diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index 81a98c12e..a9427a477 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -578,7 +578,7 @@ impl ObjectSubclass for Cea608Overlay { impl ObjectImpl for Cea608Overlay { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::int( + vec![glib::ParamSpec::new_int( "field", "Field", "The field to render the caption for when available, (-1=automatic)", diff --git a/video/closedcaption/src/mcc_enc/imp.rs b/video/closedcaption/src/mcc_enc/imp.rs index 07336de56..5a6103308 100644 --- a/video/closedcaption/src/mcc_enc/imp.rs +++ b/video/closedcaption/src/mcc_enc/imp.rs @@ -500,14 +500,14 @@ impl ObjectImpl for MccEnc { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpec::string( + glib::ParamSpec::new_string( "uuid", "UUID", "UUID for the output file", None, glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY, ), - glib::ParamSpec::boxed( + glib::ParamSpec::new_boxed( "creation-date", "Creation Date", "Creation date for the output file", diff --git a/video/closedcaption/src/tttocea608/imp.rs b/video/closedcaption/src/tttocea608/imp.rs index 1ddd94146..8900e8d4a 100644 --- a/video/closedcaption/src/tttocea608/imp.rs +++ b/video/closedcaption/src/tttocea608/imp.rs @@ -1020,7 +1020,7 @@ impl ObjectImpl for TtToCea608 { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { vec![ - glib::ParamSpec::enum_( + glib::ParamSpec::new_enum( "mode", "Mode", "Which mode to operate in", @@ -1028,7 +1028,7 @@ impl ObjectImpl for TtToCea608 { DEFAULT_MODE as i32, glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, ), - glib::ParamSpec::int( + glib::ParamSpec::new_int( "origin-row", "Origin row", "Origin row, (-1=automatic)", @@ -1037,7 +1037,7 @@ impl ObjectImpl for TtToCea608 { DEFAULT_ORIGIN_ROW, glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, ), - glib::ParamSpec::uint( + glib::ParamSpec::new_uint( "origin-column", "Origin column", "Origin column", diff --git a/video/closedcaption/src/tttojson/imp.rs b/video/closedcaption/src/tttojson/imp.rs index 711ec0fdc..d61154ee0 100644 --- a/video/closedcaption/src/tttojson/imp.rs +++ b/video/closedcaption/src/tttojson/imp.rs @@ -226,7 +226,7 @@ impl ObjectSubclass for TtToJson { impl ObjectImpl for TtToJson { fn properties() -> &'static [glib::ParamSpec] { static PROPERTIES: Lazy<Vec<glib::ParamSpec>> = Lazy::new(|| { - vec![glib::ParamSpec::enum_( + vec![glib::ParamSpec::new_enum( "mode", "Mode", "Which mode to operate in", |