introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / truemotionrt.rs
index 1bbcb0fd4dd8743f62dd9967e74335ff6cc84b76..554715fbd6529bf76836652919e44a5c6533128e 100644 (file)
@@ -84,6 +84,12 @@ impl NADecoder for TMRTDecoder {
     }
 }
 
+impl NAOptionHandler for TMRTDecoder {
+    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(TMRTDecoder::new())
 }