]> git.nihav.org Git - nihav.git/commitdiff
introduce all_demuxers and all_{video,audio}_decoders features in crates missing...
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 5 Apr 2021 11:46:25 +0000 (13:46 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 5 Apr 2021 11:46:25 +0000 (13:46 +0200)
nihav-duck/Cargo.toml
nihav-indeo/Cargo.toml
nihav-vivo/Cargo.toml

index c3ae9259b2e50dff2764115d2f2d2e4fd20c2f77..ef8a4745e2aeb45463228d136448c3106079ece1 100644 (file)
@@ -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"]
index 5b98dd17f3ad51a43c5a9212dce2398fbf58081e..a5591bb93c4368be54a882612c5050cb2308b1b0 100644 (file)
@@ -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"]
index 5aa02d630f32a99a0e4cb98eae4f65af95f9d002..608cd212bda18be7304be0026119a18fb61dc04a 100644 (file)
@@ -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 = []