introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / truemotion2.rs
index 8be4561b952cc4ebb782fd490101e29e29a3b1c1..d0ef79361d7326d04e37fdf12f109cec846628d5 100644 (file)
@@ -581,6 +581,12 @@ impl NADecoder for TM2Decoder {
     }
 }
 
+impl NAOptionHandler for TM2Decoder {
+    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(TM2Decoder::new())
 }