X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fpcm.rs;h=b4ded8746bccb11a8f63e392b18bc6f7af40a8de;hp=13eee09f9be01d6161b3dd0afe85af8a99befac5;hb=7d57ae2f680d7a1eba7af2ee831f305b2f0f9324;hpb=20766f15236404c4eb336229d4a9d202d107bb99 diff --git a/nihav-commonfmt/src/codecs/pcm.rs b/nihav-commonfmt/src/codecs/pcm.rs index 13eee09..b4ded87 100644 --- a/nihav-commonfmt/src/codecs/pcm.rs +++ b/nihav-commonfmt/src/codecs/pcm.rs @@ -60,6 +60,12 @@ impl NADecoder for PCMDecoder { } } +impl NAOptionHandler for PCMDecoder { + fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] } + fn set_options(&mut self, _options: &[NAOption]) { } + fn query_option_value(&self, _name: &str) -> Option { None } +} + pub fn get_decoder() -> Box { Box::new(PCMDecoder::new()) }