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-commonfmt
/
src
/
demuxers
/
wav.rs
diff --git
a/nihav-commonfmt/src/demuxers/wav.rs
b/nihav-commonfmt/src/demuxers/wav.rs
index 8c41c2d35bc5017391ad9c7c409b0e97b6ae66d8..bf30686436273f61ebc35d2d9a8903dce17e5b7c 100644
(file)
--- a/
nihav-commonfmt/src/demuxers/wav.rs
+++ b/
nihav-commonfmt/src/demuxers/wav.rs
@@
-95,6
+95,12
@@
impl<'a> DemuxCore<'a> for WAVDemuxer<'a> {
}
}
}
}
+impl<'a> NAOptionHandler for WAVDemuxer<'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> WAVDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
WAVDemuxer {
impl<'a> WAVDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
WAVDemuxer {