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