core/reorder: clear frame IDs in MTFrameReorderer on flush
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 6 Jul 2023 16:30:04 +0000 (18:30 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 6 Jul 2023 16:30:04 +0000 (18:30 +0200)
nihav-core/src/reorder.rs

index e8ef62261a16aa6dd75ce2be2802949bc742e733..8f02afd05d06d01be9a5533e818a9900248a538a 100644 (file)
@@ -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;
     }