introduce option handling for decoders
[nihav.git] / nihav-realmedia / src / codecs / rv30.rs
index 81021d497a2965937b97a143d618056ee66c5110..1827980c101991042df65a48bfe34b3bd97e8ff0 100644 (file)
@@ -165,6 +165,12 @@ println!("???");
     }
 }
 
+impl NAOptionHandler for RealVideo30Decoder {
+    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(RealVideo30Decoder::new())
 }