introduce option handling for decoders
[nihav.git] / nihav-vivo / src / codecs / g723_1.rs
index 840bb942ebd560b2256feed8694fe5febfde8318..5824501afac16f652ecae99a2dffe8b9787230d5 100644 (file)
@@ -960,6 +960,12 @@ impl NADecoder for G7231Decoder {
     }
 }
 
+impl NAOptionHandler for G7231Decoder {
+    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(G7231Decoder::new())
 }