From 9e00142b40fe09a1c06d8f4a72c3dc8275c70b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Sun, 12 Mar 2023 12:58:17 +0100 Subject: [PATCH] fmp4mux: fix hls_live example Part-of: --- mux/fmp4/examples/hls_live.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux/fmp4/examples/hls_live.rs b/mux/fmp4/examples/hls_live.rs index fa77a37a..1843c612 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();