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-rad
/
src
/
demuxers
/
bink.rs
diff --git
a/nihav-rad/src/demuxers/bink.rs
b/nihav-rad/src/demuxers/bink.rs
index e83f12333ccce44a6a47ef5323886502cd72f8a5..35bdcbf6126234a4030f432412403901e7c9f4e6 100644
(file)
--- a/
nihav-rad/src/demuxers/bink.rs
+++ b/
nihav-rad/src/demuxers/bink.rs
@@
-165,6
+165,12
@@
impl<'a> DemuxCore<'a> for BinkDemuxer<'a> {
}
}
}
}
+impl<'a> NAOptionHandler for BinkDemuxer<'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> BinkDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
Self {
impl<'a> BinkDemuxer<'a> {
fn new(io: &'a mut ByteReader<'a>) -> Self {
Self {