introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / truemotion2x.rs
index 586c26e0a6b1fee46492b85c0d00b660e1be3060..e2325ab1880d4e3815033e3ab817da89354c01a3 100644 (file)
@@ -692,6 +692,12 @@ impl NADecoder for TM2XDecoder {
     }
 }
 
+impl NAOptionHandler for TM2XDecoder {
+    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(TM2XDecoder::new())
 }