diff options
| author | Kostya Shishkov <[email protected]> | 2023-07-06 18:30:20 +0200 |
|---|---|---|
| committer | Kostya Shishkov <[email protected]> | 2023-07-06 18:30:20 +0200 |
| commit | f2cb96fffae1872d6570152983ab52b78623461a (patch) | |
| tree | 091ebe380f4e29904035602c9876d0d9ef4463cb | |
| parent | 1bb151a684081b24d5bdf3d12a02240c8298dd09 (diff) | |
h264: clear frame refs on flush
| -rw-r--r-- | nihav-itu/src/codecs/h264/decoder_mt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-itu/src/codecs/h264/decoder_mt.rs b/nihav-itu/src/codecs/h264/decoder_mt.rs index 69a335b..27570e5 100644 --- a/nihav-itu/src/codecs/h264/decoder_mt.rs +++ b/nihav-itu/src/codecs/h264/decoder_mt.rs @@ -923,6 +923,7 @@ impl NADecoderMT for H264MTDecoder { } fn flush(&mut self) { clear_threads(&mut self.dispatch); + self.frame_refs.clear_refs(); } } |
