diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-06-14 18:53:10 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2023-06-14 18:53:10 +0200 |
commit | f9c76c79e1f04372a09ee6c19d1ee1b625306dd9 (patch) | |
tree | 58b05cefc534a31e34081d71547eb3dfb430d540 | |
parent | 11d7aef2ac58fe8d3341ffdcec7eaf9ee4e266f1 (diff) | |
download | nihav-f9c76c79e1f04372a09ee6c19d1ee1b625306dd9.tar.gz |
allstuff: register multi-threaded decoders as well
-rw-r--r-- | nihav-allstuff/src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nihav-allstuff/src/lib.rs b/nihav-allstuff/src/lib.rs index c016d54..060ee61 100644 --- a/nihav-allstuff/src/lib.rs +++ b/nihav-allstuff/src/lib.rs @@ -1,5 +1,6 @@ //! Umbrella crate to register decoders and demuxers from all known NihAV crates. use nihav_core::codecs::RegisteredDecoders; +use nihav_core::codecs::RegisteredMTDecoders; use nihav_core::codecs::RegisteredPacketisers; use nihav_core::codecs::RegisteredEncoders; use nihav_core::demuxers::RegisteredDemuxers; @@ -11,7 +12,7 @@ use nihav_duck::*; use nihav_flash::*; use nihav_game::*; use nihav_indeo::*; -use nihav_itu::itu_register_all_decoders; +use nihav_itu::*; use nihav_llaudio::*; use nihav_misc::*; use nihav_mpeg::*; @@ -39,6 +40,11 @@ pub fn nihav_register_all_decoders(rd: &mut RegisteredDecoders) { vivo_register_all_decoders(rd); } +/// Registers all known multi-threaded decoders. +pub fn nihav_register_all_mt_decoders(rd: &mut RegisteredMTDecoders) { + itu_register_all_mt_decoders(rd); +} + /// Registers all known packetisers. pub fn nihav_register_all_packetisers(rp: &mut RegisteredPacketisers) { llaudio_register_all_packetisers(rp); |