From 48cab46eb9bcdb1507f82e57aae641eaaaa75c28 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Mon, 5 Apr 2021 13:46:25 +0200 Subject: [PATCH 1/1] introduce all_demuxers and all_{video,audio}_decoders features in crates missing them --- nihav-duck/Cargo.toml | 4 +++- nihav-indeo/Cargo.toml | 4 +++- nihav-vivo/Cargo.toml | 7 +++++-- 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 = [] -- 2.39.5