diff options
author | Josef Kolář <josef.kolar@firma.seznam.cz> | 2023-03-12 14:58:17 +0300 |
---|---|---|
committer | Josef Kolář <josef.kolar@firma.seznam.cz> | 2023-03-12 14:58:17 +0300 |
commit | 9e00142b40fe09a1c06d8f4a72c3dc8275c70b77 (patch) | |
tree | a2134d9954534b557cd36aaa451f6ca194511198 /mux | |
parent | f88552ee7f7d51f260e3c365a0d2803551df571c (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.rs | 2 |
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(); |