]> git.nihav.org Git - nihav.git/commitdiff
allstuff: document the module
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 17 Feb 2020 15:31:42 +0000 (16:31 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 17 Feb 2020 15:31:42 +0000 (16:31 +0100)
nihav-allstuff/src/lib.rs

index eb8e9a3a007728df2c77ce2f54e4d5465c6e6715..2438f89a7d71c2d27fe15f611fa4a13136c8abcf 100644 (file)
@@ -1,3 +1,4 @@
+//! Umbrella crate to register decoders and demuxers from all known NihAV crates.
 extern crate nihav_core;
 extern crate nihav_commonfmt;
 extern crate nihav_duck;
@@ -25,6 +26,7 @@ use nihav_rad::rad_register_all_demuxers;
 use nihav_realmedia::realmedia_register_all_codecs;
 use nihav_realmedia::realmedia_register_all_demuxers;
 
+/// Registers all known decoders.
 pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) {
     generic_register_all_codecs(rd);
     duck_register_all_codecs(rd);
@@ -34,6 +36,7 @@ pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) {
     realmedia_register_all_codecs(rd);
 }
 
+/// Registers all known demuxers.
 pub fn nihav_register_all_demuxers(rd: &mut RegisteredDemuxers) {
     generic_register_all_demuxers(rd);
     game_register_all_demuxers(rd);