aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-rad/src/demuxers/smacker.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-rad/src/demuxers/smacker.rs
parentdc80f48ea3097c891b159667ea239d3c20c78bc8 (diff)
downloadnihav-787b8d03074419d7f8e6b52daba02a3807444bc2.tar.gz
introduce option handling for demuxers
Diffstat (limited to 'nihav-rad/src/demuxers/smacker.rs')
-rw-r--r--nihav-rad/src/demuxers/smacker.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nihav-rad/src/demuxers/smacker.rs b/nihav-rad/src/demuxers/smacker.rs
index 3fb1a6e..41cad05 100644
--- a/nihav-rad/src/demuxers/smacker.rs
+++ b/nihav-rad/src/demuxers/smacker.rs
@@ -261,6 +261,12 @@ impl<'a> DemuxCore<'a> for SmackerVideoDemuxer<'a> {
}
}
+impl<'a> NAOptionHandler for SmackerVideoDemuxer<'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> SmackerVideoDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
SmackerVideoDemuxer {