introduce option handling for decoders
[nihav.git] / nihav-core / src / codecs / mod.rs
index 86441e6031ef20dfe118cff8069e98ca8159b11f..516d9ace408bbc60eabc127b1e5eca6502e08749 100644 (file)
@@ -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.