X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-game%2Fsrc%2Fcodecs%2Fgremlinvideo.rs;h=73f42255d549ef612f38cfb739aa96dbe3bb995a;hp=c8059fa6995db416eaf23f86858ce1308ef6ccd9;hb=7d57ae2f680d7a1eba7af2ee831f305b2f0f9324;hpb=20766f15236404c4eb336229d4a9d202d107bb99 diff --git a/nihav-game/src/codecs/gremlinvideo.rs b/nihav-game/src/codecs/gremlinvideo.rs index c8059fa..73f4225 100644 --- a/nihav-game/src/codecs/gremlinvideo.rs +++ b/nihav-game/src/codecs/gremlinvideo.rs @@ -460,6 +460,12 @@ impl NADecoder for GremlinVideoDecoder { } } +impl NAOptionHandler for GremlinVideoDecoder { + 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_video() -> Box { Box::new(GremlinVideoDecoder::new()) } @@ -554,6 +560,12 @@ impl NADecoder for GremlinAudioDecoder { } } +impl NAOptionHandler for GremlinAudioDecoder { + 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_audio() -> Box { Box::new(GremlinAudioDecoder::new()) }