introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / vp5.rs
index eb394687fcb5978589426b4a2670372b87b46512..179227adb4d64464176e537e106ac9f52bd01c6a 100644 (file)
@@ -278,6 +278,12 @@ impl NADecoder for VP5Decoder {
     }
 }
 
+impl NAOptionHandler for VP5Decoder {
+    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(VP5Decoder::new())
 }