projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce option handling for demuxers
[nihav.git]
/
nihav-vivo
/
src
/
demuxers
/
vivo.rs
diff --git
a/nihav-vivo/src/demuxers/vivo.rs
b/nihav-vivo/src/demuxers/vivo.rs
index 06decd12f1aefc32085994c879d7025a0611bfb7..a55bc41137e46b69c91ff318e92e6e57458b5379 100644
(file)
--- a/
nihav-vivo/src/demuxers/vivo.rs
+++ b/
nihav-vivo/src/demuxers/vivo.rs
@@
-134,6
+134,12
@@
impl<'a> DemuxCore<'a> for VivoDemuxer<'a> {
}
}
}
}
+impl<'a> NAOptionHandler for VivoDemuxer<'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> VivoDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
VivoDemuxer {
impl<'a> VivoDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
VivoDemuxer {