Commit 385a68b8 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

hlssink2: Use the new reset-muxer property on splitmuxsink

We don't want to reset the muxer, otherwise the continuity counter will
reset after each segment and some software gets confused. We want to
create a continuous stream.

https://bugzilla.gnome.org/show_bug.cgi?id=794816
parent 7a2110a4
......@@ -197,7 +197,7 @@ gst_hls_sink2_init (GstHlsSink2 * sink)
mux = gst_element_factory_make ("mpegtsmux", NULL);
g_object_set (sink->splitmuxsink, "location", sink->location, "max-size-time",
((GstClockTime) sink->target_duration * GST_SECOND),
"send-keyframe-requests", TRUE, "muxer", mux, NULL);
"send-keyframe-requests", TRUE, "muxer", mux, "reset-muxer", FALSE, NULL);
GST_OBJECT_FLAG_SET (sink, GST_ELEMENT_FLAG_SINK);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment