diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index c2f581aedb..373b671d7d 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -3175,9 +3175,9 @@ set_next_filename (GstSplitMuxSink * splitmux, MqStreamCtx * ctx) "location") != NULL) g_object_set (splitmux->sink, "location", fname, NULL); g_free (fname); - - splitmux->fragment_id++; } + + splitmux->fragment_id++; } /* called with GST_SPLITMUX_LOCK */