introduce option handling for decoders
[nihav.git] / nihav-rad / src / codecs / binkvid.rs
index 509b115bbaaa94f99b54ab19f10894bc185b3fe2..4de23e79af74047c369c76384f706ada82052e9f 100644 (file)
@@ -1249,6 +1249,12 @@ impl NADecoder for BinkDecoder {
     }
 }
 
+impl NAOptionHandler for BinkDecoder {
+    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(BinkDecoder::new())
 }