]> git.nihav.org Git - nihav.git/blame - nihav-allstuff/src/lib.rs
allow nihav-tool in the same directory with other crates
[nihav.git] / nihav-allstuff / src / lib.rs
CommitLineData
5641dccf
KS
1extern crate nihav_core;
2extern crate nihav_game;
3extern crate nihav_indeo;
4extern crate nihav_realmedia;
5
6use nihav_core::codecs::{RegisteredDecoders, core_register_all_codecs};
7use nihav_core::demuxers::{RegisteredDemuxers, core_register_all_demuxers};
8
9use nihav_game::codecs::game_register_all_codecs;
10use nihav_game::demuxers::game_register_all_demuxers;
11
12use nihav_indeo::codecs::indeo_register_all_codecs;
13
14use nihav_realmedia::codecs::realmedia_register_all_codecs;
15use nihav_realmedia::demuxers::realmedia_register_all_demuxers;
16
17pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) {
18 core_register_all_codecs(rd);
19 game_register_all_codecs(rd);
20 indeo_register_all_codecs(rd);
21 realmedia_register_all_codecs(rd);
22}
23
24pub fn nihav_register_all_demuxers(rd: &mut RegisteredDemuxers) {
25 core_register_all_demuxers(rd);
26 game_register_all_demuxers(rd);
27 realmedia_register_all_demuxers(rd);
28}