introduce option handling for decoders
[nihav.git] / nihav-game / src / codecs / midivid.rs
index 1234426e4921312b38f57bcfdd992ef9351d6234..74ec75f6b33f689abf7d891d0b48f8584738bf13 100644 (file)
@@ -175,6 +175,12 @@ impl NADecoder for MidividDecoder {
     }
 }
 
+impl NAOptionHandler for MidividDecoder {
+    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(MidividDecoder::new())