Verified Commit ca012cd4 authored by Jordan Petridis's avatar Jordan Petridis 🌱

mcc_parse: On FlushStop reset all of the state

parent 7c1ca3ef
......@@ -486,6 +486,10 @@ impl MccParse {
state.parser.reset();
state.need_segment = true;
state.pending_events.clear();
state.start_position = gst::ClockTime::from_seconds(0);
state.last_position = gst::ClockTime::from_seconds(0);
state.last_timecode = None;
state.timecode_rate = None;
pad.event_default(element, event)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment