introduce option handling for decoders
[nihav.git] / nihav-realmedia / src / codecs / cook.rs
index 448ccae1e569ab7347792d2be581d4d3486e027b..b4e2ea90747fac5b814ce3ba094b79067bcf7eed 100644 (file)
@@ -676,6 +676,12 @@ impl NADecoder for CookDecoder {
     }
 }
 
+impl NAOptionHandler for CookDecoder {
+    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(CookDecoder::new())
 }