From 1d91616b3c8359fef9b57383346bcf61b0082808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 24 Feb 2025 14:20:33 +0200 Subject: [PATCH] splitmuxsink: Also increment fragment IDs when no filename is configured on the sink Part-of: --- subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c index f77da99a72..662549480f 100644 --- a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c +++ b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c @@ -4070,8 +4070,8 @@ set_next_filename (GstSplitMuxSink * splitmux, MqStreamCtx * ctx) g_object_set (splitmux->sink, "location", fname, NULL); } g_free (fname); - splitmux->cur_fragment_id = splitmux->next_fragment_id; } + splitmux->cur_fragment_id = splitmux->next_fragment_id; } /* called with GST_SPLITMUX_LOCK */