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.
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);
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