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