From f83ed50c20da2d3f960c36b0e058bb94ff4ae335 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 16 Sep 2021 14:07:27 +0300 Subject: [PATCH] splitmuxsink: Reset timecodes when resetting the sink Part-of: --- subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c index aa88435..76d922f 100644 --- a/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c +++ b/subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c @@ -3662,6 +3662,8 @@ gst_splitmux_sink_reset (GstSplitMuxSink * splitmux) g_queue_foreach (&splitmux->out_cmd_q, (GFunc) out_cmd_buf_free, NULL); g_queue_clear (&splitmux->out_cmd_q); + + gst_splitmux_reset_timecode (splitmux); } static GstStateChangeReturn -- 2.7.4