]> git.nihav.org Git - nihav.git/blame_incremental - nihav-commonfmt/src/muxers/mod.rs
WAV muxer
[nihav.git] / nihav-commonfmt / src / muxers / mod.rs
... / ...
CommitLineData
1use nihav_core::muxers::*;
2
3#[cfg(feature="muxer_avi")]
4mod avi;
5#[cfg(feature="muxer_wav")]
6mod wav;
7
8const MUXERS: &[&MuxerCreator] = &[
9#[cfg(feature="muxer_avi")]
10 &avi::AVIMuxerCreator {},
11#[cfg(feature="muxer_wav")]
12 &wav::WAVMuxerCreator {},
13];
14
15pub fn generic_register_all_muxers(rm: &mut RegisteredMuxers) {
16 for muxer in MUXERS.iter() {
17 rm.add_muxer(*muxer);
18 }
19}