X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fclearvideo.rs;h=3d0f7bc09f2543292c0e2057a4f31ad5533f50af;hb=592d288947c53bae97b76985c70f37e2b0ff820f;hp=4236ae0c83180400d2191ea6dfe97f15a32411e9;hpb=4c6a05ff74cba9a3e84c8628f9f0189ce2ffae30;p=nihav.git diff --git a/nihav-commonfmt/src/codecs/clearvideo.rs b/nihav-commonfmt/src/codecs/clearvideo.rs index 4236ae0..3d0f7bc 100644 --- a/nihav-commonfmt/src/codecs/clearvideo.rs +++ b/nihav-commonfmt/src/codecs/clearvideo.rs @@ -707,6 +707,12 @@ impl NADecoder for ClearVideoDecoder { } } +impl NAOptionHandler for ClearVideoDecoder { + 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(ClearVideoDecoder::new(false)) }