diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-01-31 15:44:45 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-01-31 16:43:00 +0300 |
commit | b649e9b07674f563c8b4b44fde1076606b93e996 (patch) | |
tree | 703c3feb9988a2e53df3583feb6b47e3633902ee /video/closedcaption | |
parent | 1a826caf75ac9e0e959d7fadde3c24a99f57a655 (diff) |
Use gst::PARAM_FLAG_MUTABLE_PLAYING and others consistently everywhere
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/issues/139
Diffstat (limited to 'video/closedcaption')
-rw-r--r-- | video/closedcaption/src/ccdetect/imp.rs | 2 | ||||
-rw-r--r-- | video/closedcaption/src/mcc_enc/imp.rs | 4 | ||||
-rw-r--r-- | video/closedcaption/src/tttocea608/imp.rs | 2 | ||||
-rw-r--r-- | video/closedcaption/src/tttojson/imp.rs | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/video/closedcaption/src/ccdetect/imp.rs b/video/closedcaption/src/ccdetect/imp.rs index 6506a1b2a..deaa430b2 100644 --- a/video/closedcaption/src/ccdetect/imp.rs +++ b/video/closedcaption/src/ccdetect/imp.rs @@ -380,7 +380,7 @@ impl ObjectImpl for CCDetect { 0, u64::MAX, DEFAULT_WINDOW, - glib::ParamFlags::READWRITE, + glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING, ), glib::ParamSpec::boolean( "cc608", diff --git a/video/closedcaption/src/mcc_enc/imp.rs b/video/closedcaption/src/mcc_enc/imp.rs index e76eebb74..76a1792ad 100644 --- a/video/closedcaption/src/mcc_enc/imp.rs +++ b/video/closedcaption/src/mcc_enc/imp.rs @@ -510,14 +510,14 @@ impl ObjectImpl for MccEnc { "UUID", "UUID for the output file", None, - glib::ParamFlags::READWRITE, + glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY, ), glib::ParamSpec::boxed( "creation-date", "Creation Date", "Creation date for the output file", glib::DateTime::static_type(), - glib::ParamFlags::READWRITE, + glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY, ), ] }); diff --git a/video/closedcaption/src/tttocea608/imp.rs b/video/closedcaption/src/tttocea608/imp.rs index cab504e4e..f741d1b4c 100644 --- a/video/closedcaption/src/tttocea608/imp.rs +++ b/video/closedcaption/src/tttocea608/imp.rs @@ -996,7 +996,7 @@ impl ObjectImpl for TtToCea608 { "Which mode to operate in", Cea608Mode::static_type(), DEFAULT_MODE as i32, - glib::ParamFlags::READWRITE, + glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY, )] }); diff --git a/video/closedcaption/src/tttojson/imp.rs b/video/closedcaption/src/tttojson/imp.rs index 659df5bb4..f7e4df7dd 100644 --- a/video/closedcaption/src/tttojson/imp.rs +++ b/video/closedcaption/src/tttojson/imp.rs @@ -237,7 +237,7 @@ impl ObjectImpl for TtToJson { "Which mode to operate in", Cea608Mode::static_type(), DEFAULT_MODE as i32, - glib::ParamFlags::READWRITE, + glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY, )] }); |