]>
Commit | Line | Data |
---|---|---|
5641dccf KS |
1 | extern crate nihav_core; |
2 | extern crate nihav_game; | |
3 | extern crate nihav_indeo; | |
4 | extern crate nihav_realmedia; | |
5 | ||
6 | use nihav_core::codecs::{RegisteredDecoders, core_register_all_codecs}; | |
7 | use nihav_core::demuxers::{RegisteredDemuxers, core_register_all_demuxers}; | |
8 | ||
9 | use nihav_game::codecs::game_register_all_codecs; | |
10 | use nihav_game::demuxers::game_register_all_demuxers; | |
11 | ||
12 | use nihav_indeo::codecs::indeo_register_all_codecs; | |
13 | ||
14 | use nihav_realmedia::codecs::realmedia_register_all_codecs; | |
15 | use nihav_realmedia::demuxers::realmedia_register_all_demuxers; | |
16 | ||
17 | pub 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 | ||
24 | pub 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 | } |