splitmuxsink: Reset timecodes when resetting the sink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1005>
This commit is contained in:
Sebastian Dröge 2021-09-16 14:07:27 +03:00 committed by GStreamer Marge Bot
parent ed6823ad67
commit f83ed50c20

View 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