diff options
| author | Kostya Shishkov <[email protected]> | 2019-11-09 18:57:34 +0100 |
|---|---|---|
| committer | Kostya Shishkov <[email protected]> | 2019-11-09 18:57:34 +0100 |
| commit | f9be4e750dccff762b9a3d894faec50ffdb59233 (patch) | |
| tree | 183d7d505c1785f850a3c652c62cd012cd4c5aa2 /nihav-core/src | |
| parent | 80aaa7ef4cf5ce03978f64d07c344e4b18718b1b (diff) | |
add flush() to decoder interface
Diffstat (limited to 'nihav-core/src')
| -rw-r--r-- | nihav-core/src/codecs/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<NAFrameRef>; + fn flush(&mut self); } #[derive(Clone,Copy)] |
