summaryrefslogtreecommitdiffstats
path: root/nihav-core/src/codecs/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nihav-core/src/codecs/mod.rs')
-rw-r--r--nihav-core/src/codecs/mod.rs1
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)]