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/mux
diff options
context:
space:
mode:
authorJosef Kolář <josef.kolar@firma.seznam.cz>2023-03-12 14:58:17 +0300
committerJosef Kolář <josef.kolar@firma.seznam.cz>2023-03-12 14:58:17 +0300
commit9e00142b40fe09a1c06d8f4a72c3dc8275c70b77 (patch)
treea2134d9954534b557cd36aaa451f6ca194511198 /mux
parentf88552ee7f7d51f260e3c365a0d2803551df571c (diff)
fmp4mux: fix hls_live example
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1134>
Diffstat (limited to 'mux')
-rw-r--r--mux/fmp4/examples/hls_live.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mux/fmp4/examples/hls_live.rs b/mux/fmp4/examples/hls_live.rs
index fa77a37aa..1843c612e 100644
--- a/mux/fmp4/examples/hls_live.rs
+++ b/mux/fmp4/examples/hls_live.rs
@@ -463,12 +463,12 @@ impl AudioStream {
let src = gst::ElementFactory::make("audiotestsrc")
.property("is-live", true)
.property_from_str("wave", &self.wave)
- .property("fragment-duration", 2500.mseconds())
.build()?;
let enc = gst::ElementFactory::make("avenc_aac").build()?;
let mux = gst::ElementFactory::make("cmafmux")
.property_from_str("header-update-mode", "update")
.property("write-mehd", true)
+ .property("fragment-duration", 2500.mseconds())
.build()?;
let appsink = gst_app::AppSink::builder().buffer_list(true).build();