X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fmuxers%2Fwav.rs;h=351231708531d3dac705b6c0cdd8627ac61484ca;hb=f93045503e36631ed862a657d9266719f7784e26;hp=163a977e5d7c2c248f042223159a275455a8713d;hpb=db2b1e6c4e542a6f7f1547a90454ae61b0e4ebc1;p=nihav.git diff --git a/nihav-commonfmt/src/muxers/wav.rs b/nihav-commonfmt/src/muxers/wav.rs index 163a977..3512317 100644 --- a/nihav-commonfmt/src/muxers/wav.rs +++ b/nihav-commonfmt/src/muxers/wav.rs @@ -98,6 +98,12 @@ impl<'a> MuxCore<'a> for WAVMuxer<'a> { } } +impl<'a> NAOptionHandler for WAVMuxer<'a> { + fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] } + fn set_options(&mut self, _options: &[NAOption]) { } + fn query_option_value(&self, _name: &str) -> Option { None } +} + pub struct WAVMuxerCreator {} impl MuxerCreator for WAVMuxerCreator { @@ -105,6 +111,7 @@ impl MuxerCreator for WAVMuxerCreator { Box::new(WAVMuxer::new(bw)) } fn get_name(&self) -> &'static str { "wav" } + fn get_capabilities(&self) -> MuxerCapabilities { MuxerCapabilities::SingleAudio("any") } } #[cfg(test)]