X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-game%2Fsrc%2Fdemuxers%2Fgdv.rs;h=af0f8577c8f22ce32b1deca3acba1c6af53ca133;hb=24d998947d55228ec37a08cd391983c6239e3c0c;hp=438ced2cf0fc944f02299f7876a188d85a9f8980;hpb=caf0f37ecea1e6e25f21fc6e824ac250fe976541;p=nihav.git diff --git a/nihav-game/src/demuxers/gdv.rs b/nihav-game/src/demuxers/gdv.rs index 438ced2..af0f857 100644 --- a/nihav-game/src/demuxers/gdv.rs +++ b/nihav-game/src/demuxers/gdv.rs @@ -110,10 +110,15 @@ impl<'a> DemuxCore<'a> for GremlinVideoDemuxer<'a> { } } - fn seek(&mut self, _time: u64, _seek_index: &SeekIndex) -> DemuxerResult<()> { + fn seek(&mut self, _time: NATimePoint, _seek_index: &SeekIndex) -> DemuxerResult<()> { Err(DemuxerError::NotPossible) } } +impl<'a> NAOptionHandler for GremlinVideoDemuxer<'a> { + fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] } + fn set_options(&mut self, _options: &[NAOption]) { } + fn query_option_value(&self, _name: &str) -> Option { None } +} /*impl<'a> Drop for GremlinVideoDemuxer<'a> { #[allow(unused_variables)] fn drop(&mut self) {