From 385a68b8509595956b1f82b5bc11530e8be75018 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 29 Mar 2018 19:18:23 +0300 Subject: [PATCH] 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 --- ext/hls/gsthlssink2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/hls/gsthlssink2.c b/ext/hls/gsthlssink2.c index 64a16424a2..79233b0f66 100644 --- a/ext/hls/gsthlssink2.c +++ b/ext/hls/gsthlssink2.c @@ -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);