introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / vp6.rs
index 241a13a72ef947b3e76874de7bdb647f92026ad3..4f014faf13cbad7f53498cb527ddb9a9ac6edff3 100644 (file)
@@ -715,6 +715,12 @@ impl NADecoder for VP6Decoder {
     }
 }
 
+impl NAOptionHandler for VP6Decoder {
+    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_vp6() -> Box<NADecoder + Send> {
     Box::new(VP6Decoder::new(false))
 }