mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 11:30:59 +00:00
fmp4mux: fix hls_live example
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1134>
This commit is contained in:
parent
f88552ee7f
commit
9e00142b40
1 changed files with 1 additions and 1 deletions
|
@ -463,12 +463,12 @@ impl AudioStream {
|
||||||
let src = gst::ElementFactory::make("audiotestsrc")
|
let src = gst::ElementFactory::make("audiotestsrc")
|
||||||
.property("is-live", true)
|
.property("is-live", true)
|
||||||
.property_from_str("wave", &self.wave)
|
.property_from_str("wave", &self.wave)
|
||||||
.property("fragment-duration", 2500.mseconds())
|
|
||||||
.build()?;
|
.build()?;
|
||||||
let enc = gst::ElementFactory::make("avenc_aac").build()?;
|
let enc = gst::ElementFactory::make("avenc_aac").build()?;
|
||||||
let mux = gst::ElementFactory::make("cmafmux")
|
let mux = gst::ElementFactory::make("cmafmux")
|
||||||
.property_from_str("header-update-mode", "update")
|
.property_from_str("header-update-mode", "update")
|
||||||
.property("write-mehd", true)
|
.property("write-mehd", true)
|
||||||
|
.property("fragment-duration", 2500.mseconds())
|
||||||
.build()?;
|
.build()?;
|
||||||
let appsink = gst_app::AppSink::builder().buffer_list(true).build();
|
let appsink = gst_app::AppSink::builder().buffer_list(true).build();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue