From: Kostya Shishkov Date: Thu, 6 Jul 2023 16:30:04 +0000 (+0200) Subject: core/reorder: clear frame IDs in MTFrameReorderer on flush X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=1bb151a684081b24d5bdf3d12a02240c8298dd09;p=nihav.git core/reorder: clear frame IDs in MTFrameReorderer on flush --- diff --git a/nihav-core/src/reorder.rs b/nihav-core/src/reorder.rs index e8ef622..8f02afd 100644 --- a/nihav-core/src/reorder.rs +++ b/nihav-core/src/reorder.rs @@ -286,6 +286,7 @@ impl MTFrameReorderer { pub fn flush(&mut self) { self.flush_mode = false; self.frames.clear(); + self.ids.clear(); self.output_to = None; self.last_ts = None; }