introduce option handling for decoders
[nihav.git] / nihav-rad / src / codecs / binkaud.rs
index 479ee35d1b2fac7fc8f54c270d334acae5cfcd6b..aee9bbc8058b48834c60591c46e035d94560c446 100644 (file)
@@ -278,6 +278,12 @@ impl NADecoder for BinkAudioDecoder {
     }
 }
 
+impl NAOptionHandler for BinkAudioDecoder {
+    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_dct() -> Box<dyn NADecoder + Send> {
     Box::new(BinkAudioDecoder::new(true))
 }