introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / vp7.rs
index 9e34150210d6dce26e103fa68fd51005cb227188..4d300cc6d1e2fbe5468abeccc8d3aef23ba2db8d 100644 (file)
@@ -1423,6 +1423,12 @@ impl NADecoder for VP7Decoder {
     }
 }
 
+impl NAOptionHandler for VP7Decoder {
+    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<NADecoder + Send> {
     Box::new(VP7Decoder::new())
 }