introduce option handling for decoders
[nihav.git] / nihav-vivo / src / codecs / vivo.rs
index 807814d1f1517430afd2587b6010bcebc39075ac..9c5b5d1ed1d9f0600ff8adbda6c0fc3fe6c65cfd 100644 (file)
@@ -475,6 +475,12 @@ impl NADecoder for VivoDecoder {
     }
 }
 
+impl NAOptionHandler for VivoDecoder {
+    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(VivoDecoder::new())