fmp4: examples: hls_live: don't set header-update-mode=update

No need to update the header in live mode.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1798>
This commit is contained in:
Guillaume Desmottes 2024-09-23 12:24:22 +02:00
parent b5e0e0713c
commit 431adaa2f9

View file

@ -422,7 +422,6 @@ impl VideoStream {
.build()?; .build()?;
let mux = gst::ElementFactory::make("cmafmux") let mux = gst::ElementFactory::make("cmafmux")
.property("fragment-duration", 2500.mseconds()) .property("fragment-duration", 2500.mseconds())
.property_from_str("header-update-mode", "update")
.property("write-mehd", true) .property("write-mehd", true)
.build()?; .build()?;
let appsink = gst_app::AppSink::builder().buffer_list(true).build(); let appsink = gst_app::AppSink::builder().buffer_list(true).build();