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
path: root/net
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 /net
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 'net')
-rw-r--r--net/reqwest/src/reqwesthttpsrc/imp.rs22
-rw-r--r--net/rusoto/src/aws_transcriber/imp.rs6
-rw-r--r--net/rusoto/src/s3sink/imp.rs8
3 files changed, 18 insertions, 18 deletions
diff --git a/net/reqwest/src/reqwesthttpsrc/imp.rs b/net/reqwest/src/reqwesthttpsrc/imp.rs
index 429d86c33..453b6dd39 100644
--- a/net/reqwest/src/reqwesthttpsrc/imp.rs
+++ b/net/reqwest/src/reqwesthttpsrc/imp.rs
@@ -585,35 +585,35 @@ impl ObjectImpl for ReqwestHttpSrc {
"Location",
"URL to read from",
None,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"user-agent",
"User-Agent",
"Value of the User-Agent HTTP request header field",
DEFAULT_USER_AGENT.into(),
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boolean(
"is-live",
"Is Live",
"Act like a live source",
DEFAULT_IS_LIVE,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"user-id",
"User-id",
"HTTP location URI user id for authentication",
None,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"user-pw",
"User-pw",
"HTTP location URI user password for authentication",
None,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::uint(
"timeout",
@@ -622,42 +622,42 @@ impl ObjectImpl for ReqwestHttpSrc {
0,
3600,
DEFAULT_TIMEOUT,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boolean(
"compress",
"Compress",
"Allow compressed content encodings",
DEFAULT_COMPRESS,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boxed(
"extra-headers",
"Extra Headers",
"Extra headers to append to the HTTP request",
gst::Structure::static_type(),
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boxed(
"cookies",
"Cookies",
"HTTP request cookies",
Vec::<String>::static_type(),
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boolean(
"iradio-mode",
"I-Radio Mode",
"Enable internet radio mode (ask server to send shoutcast/icecast metadata interleaved with the actual stream data",
DEFAULT_IRADIO_MODE,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boolean(
"keep-alive",
"Keep Alive",
"Use HTTP persistent connections",
DEFAULT_KEEP_ALIVE,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
]
});
diff --git a/net/rusoto/src/aws_transcriber/imp.rs b/net/rusoto/src/aws_transcriber/imp.rs
index 3e5a9ae80..6bf85a818 100644
--- a/net/rusoto/src/aws_transcriber/imp.rs
+++ b/net/rusoto/src/aws_transcriber/imp.rs
@@ -1043,14 +1043,14 @@ impl ObjectImpl for Transcriber {
<https://docs.aws.amazon.com/transcribe/latest/dg/how-streaming-transcription.html> \
for an up to date list of allowed languages",
Some("en-US"),
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::boolean(
"use-partial-results",
"Latency",
"Whether partial results from AWS should be used",
DEFAULT_USE_PARTIAL_RESULTS,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_PLAYING,
),
glib::ParamSpec::uint(
"latency",
@@ -1059,7 +1059,7 @@ impl ObjectImpl for Transcriber {
2 * GRANULARITY_MS,
std::u32::MAX,
DEFAULT_LATENCY_MS,
- glib::ParamFlags::READWRITE,
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
]
});
diff --git a/net/rusoto/src/s3sink/imp.rs b/net/rusoto/src/s3sink/imp.rs
index 0896419e4..dd9ec4696 100644
--- a/net/rusoto/src/s3sink/imp.rs
+++ b/net/rusoto/src/s3sink/imp.rs
@@ -369,21 +369,21 @@ impl ObjectImpl for S3Sink {
"S3 Bucket",
"The bucket of the file to write",
None,
- glib::ParamFlags::READWRITE, /* + GST_PARAM_MUTABLE_READY) */
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"key",
"S3 Key",
"The key of the file to write",
None,
- glib::ParamFlags::READWRITE, /* + GST_PARAM_MUTABLE_READY) */
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::string(
"region",
"AWS Region",
"An AWS region (e.g. eu-west-2).",
None,
- glib::ParamFlags::READWRITE, /* + GST_PARAM_MUTABLE_READY) */
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
glib::ParamSpec::uint64(
"part-size",
@@ -392,7 +392,7 @@ impl ObjectImpl for S3Sink {
5 * 1024 * 1024, // 5 MB
5 * 1024 * 1024 * 1024, // 5 GB
DEFAULT_BUFFER_SIZE,
- glib::ParamFlags::READWRITE, /* + GST_PARAM_MUTABLE_READY) */
+ glib::ParamFlags::READWRITE | gst::PARAM_FLAG_MUTABLE_READY,
),
]
});