introduce option handling for encoders
[nihav.git] / nihav-ms / src / codecs / msvideo1enc.rs
index f9b06cf848134627c1209245747bae0f97b75f9e..6ddae6485a4ffebafea4328936852994687272c0 100644 (file)
@@ -479,6 +479,12 @@ impl NAEncoder for MSVideo1Encoder {
     }
 }
 
+impl NAOptionHandler for MSVideo1Encoder {
+    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(MSVideo1Encoder::new())
 }