diff options
author | Rodeo <[email protected]> | 2012-09-01 16:03:45 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-09-01 16:03:45 +0000 |
commit | 00d5253246cdf9c10a13322c2e57898a63ff7558 (patch) | |
tree | 886a915e7d88c03aac8130ce1d8b21ab95094030 | |
parent | 33aaba22f0a5a8290ba75809b522e4293822296b (diff) |
CLI help: generate the list of available audio mixdowns, rather than naving it hardcoded.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4924 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | test/test.c | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/test/test.c b/test/test.c index b59534d44..ec16e700d 100644 --- a/test/test.c +++ b/test/test.c @@ -2915,10 +2915,21 @@ static void ShowHelp() " -C, --ac <compression> Set audio compression metric (default: depends on the\n" " selected codec)\n" " Separated by commas for more than one audio track.\n" - " -6, --mixdown <string> Format(s) for surround sound downmixing\n" + " -6, --mixdown <string> Format(s) for audio downmixing/upmixing:\n"); + // skip HB_AMIXDOWN_NONE + for (i = 1; i < hb_audio_mixdowns_count; i++) + { + fprintf(out, " %s\n", + hb_audio_mixdowns[i].short_name); + } + fprintf(out, " Separated by commas for more than one audio track.\n" - " (mono/stereo/dpl1/dpl2/6ch, default: up to 6ch for ac3,\n" - " up to dpl2 for other encoders)\n" + " Default: up to %s for ffac3 and ffflac,\n", + hb_mixdown_get_short_name_from_mixdown(HB_AMIXDOWN_6CH)); + fprintf(out, + " up to %s for other encoders).\n", + hb_mixdown_get_short_name_from_mixdown(HB_AMIXDOWN_DOLBYPLII)); + fprintf(out, " --normalize-mix Normalize audio mix levels to prevent clipping.\n" " <string> Separated by commas for more than one audio track.\n" " 0 = Disable Normalization (default)\n" |