From 5ed804aef554ce737c766c6a66830ca3ed9d140d Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 17 Feb 2020 16:31:42 +0100 Subject: [PATCH] allstuff: document the module --- nihav-allstuff/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nihav-allstuff/src/lib.rs b/nihav-allstuff/src/lib.rs index eb8e9a3..2438f89 100644 --- a/nihav-allstuff/src/lib.rs +++ b/nihav-allstuff/src/lib.rs @@ -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); -- 2.39.5