X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-game%2Fsrc%2Fcodecs%2Fbmv.rs;h=2e423906262cb8f6cb4219b7fd6ca483a1429ab4;hp=e94fbaff2a28160dd8018e34c5dbf5781cf5e8e2;hb=7d57ae2f680d7a1eba7af2ee831f305b2f0f9324;hpb=20766f15236404c4eb336229d4a9d202d107bb99 diff --git a/nihav-game/src/codecs/bmv.rs b/nihav-game/src/codecs/bmv.rs index e94fbaf..2e42390 100644 --- a/nihav-game/src/codecs/bmv.rs +++ b/nihav-game/src/codecs/bmv.rs @@ -220,6 +220,12 @@ impl NADecoder for BMVVideoDecoder { } } +impl NAOptionHandler for BMVVideoDecoder { + 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(BMVVideoDecoder::new()) @@ -299,6 +305,12 @@ impl NADecoder for BMVAudioDecoder { } } +impl NAOptionHandler for BMVAudioDecoder { + 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(BMVAudioDecoder::new()) }