introduce option handling for encoders
[nihav.git] / nihav-ms / src / codecs / msadpcm.rs
index b41333f13ab9467edcdceac7cd6e01ea65de794f..d906e4ca89e98bd2cce7c83906565c59391503e5 100644 (file)
@@ -385,6 +385,12 @@ impl NAEncoder for MSADPCMEncoder {
     }
 }
 
+impl NAOptionHandler for MSADPCMEncoder {
+    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_encoder() -> Box<dyn NAEncoder + Send> {
     Box::new(MSADPCMEncoder::new())
 }