splitmuxsink: Reset timecodes when resetting the sink
authorSebastian Dröge <sebastian@centricular.com>
Thu, 16 Sep 2021 11:07:27 +0000 (14:07 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 5 Oct 2021 12:35:19 +0000 (12:35 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005>

subprojects/gst-plugins-good/gst/multifile/gstsplitmuxsink.c

index aa88435..76d922f 100644 (file)
@@ -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