introduce option handling for decoders
[nihav.git] / nihav-realmedia / src / codecs / rv40.rs
index 91f6e78a97490fa61de1bf75613d00582b86f865..95e232541d6fb652624f10eef1f723ddf7933cc5 100644 (file)
@@ -358,6 +358,12 @@ println!("???");
     }
 }
 
+impl NAOptionHandler for RealVideo40Decoder {
+    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(RealVideo40Decoder::new())
 }