From: Kostya Shishkov Date: Sun, 10 Feb 2019 17:48:21 +0000 (+0100) Subject: allstuff: register duck crate X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=8e4fa38a4c2f4e61330839648f3e148f8705f5bb;p=nihav.git allstuff: register duck crate --- diff --git a/nihav-allstuff/Cargo.toml b/nihav-allstuff/Cargo.toml index 152739c..023aaa4 100644 --- a/nihav-allstuff/Cargo.toml +++ b/nihav-allstuff/Cargo.toml @@ -7,6 +7,7 @@ edition = "2018" [dependencies] nihav_core = { path = "../nihav-core" } nihav_commonfmt = { path = "../nihav-commonfmt" } +nihav_duck = { path = "../nihav-duck" } nihav_game = { path = "../nihav-game" } nihav_indeo = { path = "../nihav-indeo" } nihav_rad = { path = "../nihav-rad" } diff --git a/nihav-allstuff/src/lib.rs b/nihav-allstuff/src/lib.rs index 88c5f45..7c3ac61 100644 --- a/nihav-allstuff/src/lib.rs +++ b/nihav-allstuff/src/lib.rs @@ -1,5 +1,6 @@ extern crate nihav_core; extern crate nihav_commonfmt; +extern crate nihav_duck; extern crate nihav_game; extern crate nihav_indeo; extern crate nihav_rad; @@ -11,6 +12,8 @@ use nihav_core::demuxers::RegisteredDemuxers; use nihav_commonfmt::codecs::generic_register_all_codecs; use nihav_commonfmt::demuxers::generic_register_all_demuxers; +use nihav_duck::codecs::duck_register_all_codecs; + use nihav_game::codecs::game_register_all_codecs; use nihav_game::demuxers::game_register_all_demuxers; @@ -24,6 +27,7 @@ use nihav_realmedia::demuxers::realmedia_register_all_demuxers; pub fn nihav_register_all_codecs(rd: &mut RegisteredDecoders) { generic_register_all_codecs(rd); + duck_register_all_codecs(rd); game_register_all_codecs(rd); indeo_register_all_codecs(rd); rad_register_all_codecs(rd);