X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fcodecs%2Fmod.rs;h=7ce056db4143aa455420d6d39dd010a176b91897;hp=ee6f5cdc2bae6d5432a540abac063ed7e1ad0206;hb=f9be4e750dccff762b9a3d894faec50ffdb59233;hpb=80aaa7ef4cf5ce03978f64d07c344e4b18718b1b diff --git a/nihav-core/src/codecs/mod.rs b/nihav-core/src/codecs/mod.rs index ee6f5cd..7ce056d 100644 --- a/nihav-core/src/codecs/mod.rs +++ b/nihav-core/src/codecs/mod.rs @@ -255,6 +255,7 @@ impl Default for NADecoderSupport { pub trait NADecoder { fn init(&mut self, supp: &mut NADecoderSupport, info: NACodecInfoRef) -> DecoderResult<()>; fn decode(&mut self, supp: &mut NADecoderSupport, pkt: &NAPacket) -> DecoderResult; + fn flush(&mut self); } #[derive(Clone,Copy)]