X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Flib.rs;h=c4a2ca72ab46e7d6818b771c1474755251fc733b;hb=1047e98335ad782b48bcc88e9277336576c20597;hp=ce931feb321cb81f43d13819a874a0ee069802d7;hpb=e64739f87a35f29be0bbbce366876180ba3eb57e;p=nihav.git diff --git a/nihav-commonfmt/src/lib.rs b/nihav-commonfmt/src/lib.rs index ce931fe..c4a2ca7 100644 --- a/nihav-commonfmt/src/lib.rs +++ b/nihav-commonfmt/src/lib.rs @@ -1,4 +1,6 @@ extern crate nihav_core; +extern crate nihav_codec_support; +extern crate nihav_registry; #[cfg(feature="decoders")] #[allow(clippy::unreadable_literal)] @@ -7,12 +9,19 @@ extern crate nihav_core; mod codecs; #[cfg(feature="decoders")] -pub use codecs::generic_register_all_codecs; +pub use crate::codecs::generic_register_all_codecs; +#[cfg(feature="encoders")] +pub use crate::codecs::generic_register_all_encoders; #[cfg(feature="demuxers")] mod demuxers; #[cfg(feature="demuxers")] -pub use demuxers::generic_register_all_demuxers; +pub use crate::demuxers::generic_register_all_demuxers; + +#[cfg(feature="muxers")] +mod muxers; +#[cfg(feature="muxers")] +pub use crate::muxers::generic_register_all_muxers; #[cfg(test)] extern crate nihav_realmedia;