mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-17 05:15:14 +00:00
mcc_parse: On FlushStop reset all of the state
This commit is contained in:
parent
7c1ca3ef55
commit
ca012cd4f0
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue