From: Kostya Shishkov Date: Mon, 5 Apr 2021 11:46:25 +0000 (+0200) Subject: introduce all_demuxers and all_{video,audio}_decoders features in crates missing... X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=48cab46eb9bcdb1507f82e57aae641eaaaa75c28;p=nihav.git introduce all_demuxers and all_{video,audio}_decoders features in crates missing them --- diff --git a/nihav-duck/Cargo.toml b/nihav-duck/Cargo.toml index c3ae925..ef8a474 100644 --- a/nihav-duck/Cargo.toml +++ b/nihav-duck/Cargo.toml @@ -17,7 +17,9 @@ nihav_commonfmt = { path = "../nihav-commonfmt", default-features=false, feature [features] default = ["all_decoders"] -all_decoders = ["decoder_truemotion1", "decoder_truemotionrt", "decoder_dk3_adpcm", "decoder_dk4_adpcm", "decoder_truemotion2", "decoder_truemotion2x", "decoder_vp3", "decoder_vp4", "decoder_vp5", "decoder_vp6", "decoder_on2avc", "decoder_vp7"] +all_decoders = ["all_video_decoders", "all_audio_decoders"] +all_video_decoders = ["decoder_truemotion1", "decoder_truemotionrt", "decoder_truemotion2", "decoder_truemotion2x", "decoder_vp3", "decoder_vp4", "decoder_vp5", "decoder_vp6", "decoder_vp7"] +all_audio_decoders = ["decoder_dk3_adpcm", "decoder_dk4_adpcm", "decoder_on2avc"] decoders = [] decoder_truemotion1 = ["decoders"] diff --git a/nihav-indeo/Cargo.toml b/nihav-indeo/Cargo.toml index 5b98dd1..a5591bb 100644 --- a/nihav-indeo/Cargo.toml +++ b/nihav-indeo/Cargo.toml @@ -17,7 +17,9 @@ nihav_commonfmt = { path = "../nihav-commonfmt", default-features=false, feature [features] default = ["all_decoders"] -all_decoders = ["decoder_imc", "decoder_indeo2", "decoder_indeo3", "decoder_indeo4", "decoder_indeo5", "decoder_intel263"] +all_decoders = ["all_video_decoders", "all_audio_decoders"] +all_video_decoders = ["decoder_indeo2", "decoder_indeo3", "decoder_indeo4", "decoder_indeo5", "decoder_intel263"] +all_audio_decoders = ["decoder_imc"] decoders = [] decoder_imc = ["decoders"] diff --git a/nihav-vivo/Cargo.toml b/nihav-vivo/Cargo.toml index 5aa02d6..608cd21 100644 --- a/nihav-vivo/Cargo.toml +++ b/nihav-vivo/Cargo.toml @@ -12,9 +12,11 @@ path = "../nihav-codec-support" features = ["dsp_window", "mdct", "dct", "h263"] [features] -default = ["all_decoders", "demuxer_vivo"] +default = ["all_decoders", "all_demuxers"] -all_decoders = ["decoder_vivo1", "decoder_vivo2", "decoder_siren", "decoder_g723_1"] +all_decoders = ["all_video_decoders", "all_audio_decoders"] +all_video_decoders = ["decoder_vivo1", "decoder_vivo2"] +all_audio_decoders = ["decoder_siren", "decoder_g723_1"] decoders = [] decoder_vivo1 = ["decoders"] @@ -22,4 +24,5 @@ decoder_vivo2 = ["decoders"] decoder_g723_1 = ["decoders"] decoder_siren = ["decoders"] +all_demuxers = ["demuxer_vivo"] demuxer_vivo = []