introduce option handling for decoders
[nihav.git] / nihav-ms / src / codecs / msvideo1.rs
index 42a9a2ee66eb5cba47382960bd46aec910948838..938dc0f8ff2eae1c9a2b2c766e38357078aab47b 100644 (file)
@@ -277,6 +277,12 @@ if !found_pal {
     }
 }
 
+impl NAOptionHandler for Video1Decoder {
+    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<dyn NADecoder + Send> {
     Box::new(Video1Decoder::new())
 }