aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-game/src/demuxers/vmd.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-05-31 18:15:50 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-05-31 18:15:50 +0200
commit787b8d03074419d7f8e6b52daba02a3807444bc2 (patch)
tree60427270debe3b4442dc1a3d1e1f7c68a178a314 /nihav-game/src/demuxers/vmd.rs
parentdc80f48ea3097c891b159667ea239d3c20c78bc8 (diff)
downloadnihav-787b8d03074419d7f8e6b52daba02a3807444bc2.tar.gz
introduce option handling for demuxers
Diffstat (limited to 'nihav-game/src/demuxers/vmd.rs')
-rw-r--r--nihav-game/src/demuxers/vmd.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nihav-game/src/demuxers/vmd.rs b/nihav-game/src/demuxers/vmd.rs
index 70bf0fe..c6da8f4 100644
--- a/nihav-game/src/demuxers/vmd.rs
+++ b/nihav-game/src/demuxers/vmd.rs
@@ -185,6 +185,12 @@ impl<'a> DemuxCore<'a> for VMDDemuxer<'a> {
}
}
+impl<'a> NAOptionHandler for VMDDemuxer<'a> {
+ fn get_supported_options(&self) -> &[NAOptionDefinition] { &[] }
+ fn set_options(&mut self, _options: &[NAOption]) { }
+ fn query_option_value(&self, _name: &str) -> Option<NAValue> { None }
+}
+
impl<'a> VMDDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
Self {