projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add flush() to decoder interface
[nihav.git]
/
nihav-commonfmt
/
src
/
codecs
/
clearvideo.rs
diff --git
a/nihav-commonfmt/src/codecs/clearvideo.rs
b/nihav-commonfmt/src/codecs/clearvideo.rs
index 3e913a9dcc0a769d0adfab8b215809c87de12b11..790ea3e00b369d91a2e5b4fc3a1b6faccc983ba6 100644
(file)
--- a/
nihav-commonfmt/src/codecs/clearvideo.rs
+++ b/
nihav-commonfmt/src/codecs/clearvideo.rs
@@
-698,6
+698,9
@@
impl NADecoder for ClearVideoDecoder {
}
Ok(frm.into_ref())
}
+ fn flush(&mut self) {
+ self.frmmgr.clear();
+ }
}
pub fn get_decoder() -> Box<dyn NADecoder> {