mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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
This commit is contained in:
parent
7a2110a499
commit
385a68b850
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue