X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-indeo%2Fsrc%2Fcodecs%2Findeo2.rs;h=38079cec0e6ddb7c3557de02fff01660b5941540;hb=3d5fb08f404cd219161c2133e24022d53acdec61;hp=e1571fc0475a903bfb426e178fb53cebe3d897bd;hpb=b4d5b8515e75383b4fc59ea2813c90c615d59a96;p=nihav.git diff --git a/nihav-indeo/src/codecs/indeo2.rs b/nihav-indeo/src/codecs/indeo2.rs index e1571fc..38079ce 100644 --- a/nihav-indeo/src/codecs/indeo2.rs +++ b/nihav-indeo/src/codecs/indeo2.rs @@ -365,6 +365,12 @@ impl NADecoder for Indeo2Decoder { } } +impl NAOptionHandler for Indeo2Decoder { + 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(Indeo2Decoder::new()) } @@ -373,7 +379,7 @@ pub fn get_decoder() -> Box { mod test { use nihav_core::codecs::RegisteredDecoders; use nihav_core::demuxers::RegisteredDemuxers; - use nihav_core::test::dec_video::*; + use nihav_codec_support::test::dec_video::*; use crate::indeo_register_all_codecs; use nihav_commonfmt::generic_register_all_demuxers; #[test]