aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-commonfmt/src/codecs/cinepakenc.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2023-03-14 11:11:31 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2023-03-14 11:11:31 +0100
commit2757a0289c980aeba002609c777815b51ace8e56 (patch)
tree0872e7aa66fb001aa034b44f16ae1dcdfec3293f /nihav-commonfmt/src/codecs/cinepakenc.rs
parent5f9bf7648f667952b787c77afde07d23ac7c01de (diff)
downloadnihav-2757a0289c980aeba002609c777815b51ace8e56.tar.gz
introduce a way for encoder to manifest its capabilities
Diffstat (limited to 'nihav-commonfmt/src/codecs/cinepakenc.rs')
-rw-r--r--nihav-commonfmt/src/codecs/cinepakenc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-commonfmt/src/codecs/cinepakenc.rs b/nihav-commonfmt/src/codecs/cinepakenc.rs
index ff86a52..f4ac9b2 100644
--- a/nihav-commonfmt/src/codecs/cinepakenc.rs
+++ b/nihav-commonfmt/src/codecs/cinepakenc.rs
@@ -958,6 +958,7 @@ impl NAEncoder for CinepakEncoder {
}
}
}
+ fn get_capabilities(&self) -> u64 { 0 }
fn init(&mut self, stream_id: u32, encinfo: EncodeParameters) -> EncoderResult<NAStreamRef> {
match encinfo.format {
NACodecTypeInfo::None => Err(EncoderError::FormatError),