diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-07-06 18:30:04 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-07-06 18:30:04 +0200 |
commit | 1bb151a684081b24d5bdf3d12a02240c8298dd09 (patch) | |
tree | 37af3b2bc71e25f59efc0dfdfa5458c8d3d6ad37 /nihav-core/src | |
parent | de3f3f006ff7b0b6407111d4dca3ec124be398fb (diff) | |
download | nihav-1bb151a684081b24d5bdf3d12a02240c8298dd09.tar.gz |
core/reorder: clear frame IDs in MTFrameReorderer on flush
Diffstat (limited to 'nihav-core/src')
-rw-r--r-- | nihav-core/src/reorder.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |