aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2021-04-05 13:46:25 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2021-04-05 13:46:25 +0200
commit48cab46eb9bcdb1507f82e57aae641eaaaa75c28 (patch)
tree5b03a5042d3861fb944cc0b33a5876a15483bd34
parentc1e14623891356ce5b2c79666a2d5c38b220764b (diff)
downloadnihav-48cab46eb9bcdb1507f82e57aae641eaaaa75c28.tar.gz
introduce all_demuxers and all_{video,audio}_decoders features in crates missing them
-rw-r--r--nihav-duck/Cargo.toml4
-rw-r--r--nihav-indeo/Cargo.toml4
-rw-r--r--nihav-vivo/Cargo.toml7
3 files changed, 11 insertions, 4 deletions
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 = []