introduce option handling for decoders
[nihav.git] / nihav-duck / src / codecs / on2avc.rs
index f3e757d1dbc024dfa267969023b13fa9ed7e79ca..2cd7a8802a190ac7b9a7fe4c65eb7913898767d9 100644 (file)
@@ -1048,6 +1048,12 @@ impl NADecoder for AVCDecoder {
     }
 }
 
+impl NAOptionHandler for AVCDecoder {
+    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_500() -> Box<dyn NADecoder + Send> {
     Box::new(AVCDecoder::new(500))
 }