]> git.nihav.org Git - nihav.git/blob - nihav-commonfmt/src/muxers/mod.rs
mov: fix bitdepth handling
[nihav.git] / nihav-commonfmt / src / muxers / mod.rs
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 }