Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net/aws
diff options
context:
space:
mode:
authorArun Raghavan <arun@asymptotic.io>2023-01-24 21:02:14 +0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-01-24 21:56:46 +0300
commitad3f1cf534b475d47d4ef4d0e8916d507c6e56e5 (patch)
tree1fc702c2389eaa1ac463ece1538ef427ce4474ad /net/aws
parentee8249eec76da88d5797f16d617feaf53fe2037e (diff)
aws: s3hlssink: Fix the name of the hlssink child element
It's easier to set child element properties if the name doesn't depend on the factory. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1061>
Diffstat (limited to 'net/aws')
-rw-r--r--net/aws/src/s3hlssink/imp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/aws/src/s3hlssink/imp.rs b/net/aws/src/s3hlssink/imp.rs
index 55efa0d5..24dea089 100644
--- a/net/aws/src/s3hlssink/imp.rs
+++ b/net/aws/src/s3hlssink/imp.rs
@@ -438,12 +438,12 @@ impl ObjectSubclass for S3HlsSink {
fn with_class(_klass: &Self::Class) -> Self {
/* Prefer hlssink3 here due to it's support for media playlist types */
let hlssink = match gst::ElementFactory::make("hlssink3")
- .name("hlssink3")
+ .name("hlssink")
.build()
{
Ok(element) => element,
Err(_) => gst::ElementFactory::make("hlssink2")
- .name("hlssink2")
+ .name("hlssink")
.build()
.expect("Could not find hlssink2. Need hlssink2 or hlssink3."),
};