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 decoders
[nihav.git]
/
nihav-core
/
src
/
codecs
/
mod.rs
diff --git
a/nihav-core/src/codecs/mod.rs
b/nihav-core/src/codecs/mod.rs
index 86441e6031ef20dfe118cff8069e98ca8159b11f..516d9ace408bbc60eabc127b1e5eca6502e08749 100644
(file)
--- a/
nihav-core/src/codecs/mod.rs
+++ b/
nihav-core/src/codecs/mod.rs
@@
-77,7
+77,7
@@
impl Default for NADecoderSupport {
}
/// Decoder trait.
-pub trait NADecoder {
+pub trait NADecoder
: NAOptionHandler
{
/// Initialises the decoder.
///
/// It takes [`NADecoderSupport`] allocated by the caller and `NACodecInfoRef` provided by demuxer.