introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / truemotion1.rs
index 29d85ace3c1194fa822a42d73c097be1e527aa08..b95b410f35b40449842cfc1dc0ffe8d640062192 100644 (file)
@@ -659,6 +659,12 @@ impl NADecoder for TM1Decoder {
     }
 }
 
+impl NAOptionHandler for TM1Decoder {
+    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(TM1Decoder::new())
 }