projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce option handling for decoders
[nihav.git]
/
nihav-commonfmt
/
src
/
codecs
/
cinepak.rs
diff --git
a/nihav-commonfmt/src/codecs/cinepak.rs
b/nihav-commonfmt/src/codecs/cinepak.rs
index b3e1b18e266bd2c152716adf021498181e5c2c55..5f03e14f55f9a74af61772b6f8de5ac9a99392e7 100644
(file)
--- a/
nihav-commonfmt/src/codecs/cinepak.rs
+++ b/
nihav-commonfmt/src/codecs/cinepak.rs
@@
-380,6
+380,12
@@
impl NADecoder for CinepakDecoder {
}
}
}
}
+impl NAOptionHandler for CinepakDecoder {
+ fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+ fn set_options(&mut self, _options: &[NAOption]) { }
+ fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
+
pub fn get_decoder() -> Box<dyn NADecoder + Send> {
Box::new(CinepakDecoder::new())
}
pub fn get_decoder() -> Box<dyn NADecoder + Send> {
Box::new(CinepakDecoder::new())
}