introduce option handling for decoders
[nihav.git] / nihav-commonfmt / src / codecs / ts102366.rs
index 4f270cc56ad1323df0f31d45f92baabd8d7f56a3..25f342b5a7d85ca6f6a96272893d40049d0b6aac 100644 (file)
@@ -1240,6 +1240,12 @@ impl NADecoder for AudioDecoder {
     }
 }
 
+impl NAOptionHandler for AudioDecoder {
+    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(AudioDecoder::new())
 }