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-01-31 15:44:45 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-01-31 16:43:00 +0300
commitb649e9b07674f563c8b4b44fde1076606b93e996 (patch)
tree703c3feb9988a2e53df3583feb6b47e3633902ee /audio/csound/src/filter/imp.rs
parent1a826caf75ac9e0e959d7fadde3c24a99f57a655 (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 'audio/csound/src/filter/imp.rs')
-rw-r--r--audio/csound/src/filter/imp.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/csound/src/filter/imp.rs b/audio/csound/src/filter/imp.rs
index 9967587e4..3a5c492a3 100644
--- a/audio/csound/src/filter/imp.rs
+++ b/audio/csound/src/filter/imp.rs
@@ -352,7 +352,7 @@ impl ObjectImpl for CsoundFilter {
"Loop",
"loop over the score (can be changed in PLAYING or PAUSED state)",
DEFAULT_LOOP,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING,
),
glib::ParamSpec::string(
"location",
@@ -360,7 +360,7 @@ impl ObjectImpl for CsoundFilter {
"Location of the csd file to be used by csound.
Use either location or CSD-text but not both at the same time, if so and error would be triggered",
None,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"csd-text",
@@ -368,7 +368,7 @@ impl ObjectImpl for CsoundFilter {
"The content of a csd file passed as a String.
Use either location or csd-text but not both at the same time, if so and error would be triggered",
None,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::double(
"score-offset",
@@ -377,7 +377,7 @@ impl ObjectImpl for CsoundFilter {
0.0,
f64::MAX,
SCORE_OFFSET_DEFAULT,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
]
});