introduce option handling for decoders
[nihav.git] / nihav-realmedia / src / codecs / rv20.rs
index 3b8e441e80c5abd76b1707a08e66c1f6fc339cdd..39254db6a206a5f586aef1b56b27d6c103858362 100644 (file)
@@ -667,6 +667,12 @@ impl NADecoder for RealVideo20Decoder {
     }
 }
 
+impl NAOptionHandler for RealVideo20Decoder {
+    fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+    fn set_options(&mut self, _options: &[NAOption]) { }
+    fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
+
 struct MBB { blocks: usize, bits: u8 }
 const H263_MBB: &[MBB; 7] = &[
     MBB{ blocks:    47, bits:  6 },