aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-core/src
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2023-07-06 18:30:04 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2023-07-06 18:30:04 +0200
commit1bb151a684081b24d5bdf3d12a02240c8298dd09 (patch)
tree37af3b2bc71e25f59efc0dfdfa5458c8d3d6ad37 /nihav-core/src
parentde3f3f006ff7b0b6407111d4dca3ec124be398fb (diff)
downloadnihav-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.rs1
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;
}