]>
Commit | Line | Data |
---|---|---|
5cd2f537 KS |
1 | use nihav_core::muxers::*; |
2 | ||
3 | #[cfg(feature="muxer_avi")] | |
4 | mod avi; | |
db2b1e6c KS |
5 | #[cfg(feature="muxer_wav")] |
6 | mod wav; | |
5cd2f537 KS |
7 | |
8 | const MUXERS: &[&MuxerCreator] = &[ | |
9 | #[cfg(feature="muxer_avi")] | |
10 | &avi::AVIMuxerCreator {}, | |
db2b1e6c KS |
11 | #[cfg(feature="muxer_wav")] |
12 | &wav::WAVMuxerCreator {}, | |
5cd2f537 KS |
13 | ]; |
14 | ||
15 | pub fn generic_register_all_muxers(rm: &mut RegisteredMuxers) { | |
16 | for muxer in MUXERS.iter() { | |
17 | rm.add_muxer(*muxer); | |
18 | } | |
19 | } |