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
/
aac.rs
diff --git
a/nihav-commonfmt/src/codecs/aac.rs
b/nihav-commonfmt/src/codecs/aac.rs
index 6de5a963e0ec2d8fc0269866b0ceac4f5ba17e08..0c65d50b1576020c7dcd259dab7c92445de4fee9 100644
(file)
--- a/
nihav-commonfmt/src/codecs/aac.rs
+++ b/
nihav-commonfmt/src/codecs/aac.rs
@@
-1258,6
+1258,12
@@
impl NADecoder for AACDecoder {
}
}
}
}
+impl NAOptionHandler for AACDecoder {
+ 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(AACDecoder::new())
}
pub fn get_decoder() -> Box<dyn NADecoder + Send> {
Box::new(AACDecoder::new())
}