introduce option handling for decoders
[nihav.git] / nihav-game / src / codecs / midivid3.rs
index d65e448c170ceea0d49cb5bbf76f0ffa05aa9da7..7ffb04548b31f3c28d17ab1d5c9dd04035fc0c49 100644 (file)
@@ -509,6 +509,12 @@ impl NADecoder for Midivid3Decoder {
     }
 }
 
+impl NAOptionHandler for Midivid3Decoder {
+    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_video() -> Box<dyn NADecoder + Send> {
     Box::new(Midivid3Decoder::new())