]>
Commit | Line | Data |
---|---|---|
1 | use nihav_core::muxers::*; | |
2 | ||
3 | #[cfg(feature="muxer_avi")] | |
4 | mod avi; | |
5 | #[cfg(feature="muxer_wav")] | |
6 | mod wav; | |
7 | ||
8 | const MUXERS: &[&MuxerCreator] = &[ | |
9 | #[cfg(feature="muxer_avi")] | |
10 | &avi::AVIMuxerCreator {}, | |
11 | #[cfg(feature="muxer_wav")] | |
12 | &wav::WAVMuxerCreator {}, | |
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 | } |