introduce option handling for decoders
[nihav.git] / nihav-rad / src / codecs / bink2.rs
index 7532c028b1e7bfbbf67e9cb4a9ed04a87ccac0f9..1305878bed5b36a5c2590bc2e586d4667f7fcf26 100644 (file)
@@ -1943,6 +1943,12 @@ impl NADecoder for Bink2Decoder {
     }
 }
 
+impl NAOptionHandler for Bink2Decoder {
+    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(Bink2Decoder::new())
 }