X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fclearvideo.rs;h=790ea3e00b369d91a2e5b4fc3a1b6faccc983ba6;hp=3e913a9dcc0a769d0adfab8b215809c87de12b11;hb=f9be4e750dccff762b9a3d894faec50ffdb59233;hpb=80aaa7ef4cf5ce03978f64d07c344e4b18718b1b diff --git a/nihav-commonfmt/src/codecs/clearvideo.rs b/nihav-commonfmt/src/codecs/clearvideo.rs index 3e913a9..790ea3e 100644 --- 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 {