1 use nihav_core::muxers::*;
3 #[cfg(feature="muxer_avi")]
5 #[cfg(feature="muxer_gif")]
7 #[cfg(feature="muxer_wav")]
9 #[cfg(feature="muxer_y4m")]
12 const MUXERS: &[&dyn MuxerCreator] = &[
13 #[cfg(feature="muxer_avi")]
14 &avi::AVIMuxerCreator {},
15 #[cfg(feature="muxer_gif")]
16 &gif::GIFMuxerCreator {},
17 #[cfg(feature="muxer_wav")]
18 &wav::WAVMuxerCreator {},
19 #[cfg(feature="muxer_y4m")]
20 &y4m::Y4MMuxerCreator {},
23 pub fn generic_register_all_muxers(rm: &mut RegisteredMuxers) {
24 for muxer in MUXERS.iter() {