introduce option handling for decoders
[nihav.git] / nihav-realmedia / src / codecs / rv10.rs
index f5e0c8d4ce58a3e16f1458df7f8387d6aa2b274b..e729b0def25fec5f4622f772c9d1b8ad5c02d3ac 100644 (file)
@@ -460,6 +460,12 @@ impl NADecoder for RealVideo10Decoder {
     }
 }
 
+impl NAOptionHandler for RealVideo10Decoder {
+    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(RealVideo10Decoder::new())