diff options
author | jstebbins <[email protected]> | 2015-05-09 16:44:14 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-05-09 16:44:14 +0000 |
commit | 682dc08dca5a2bdad77645011e2d281a3e419dfe (patch) | |
tree | cf5d92965554ccc2ba1e7bc49a2eeedf7a7d09d2 | |
parent | a3a794091ca2e5d6949be1cc58c43ed5c4395b58 (diff) |
cli: fix audio codec selection when one codec specified on the command line
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7166 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | test/test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 36dede1a3..a32970e23 100644 --- a/test/test.c +++ b/test/test.c @@ -3740,7 +3740,10 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) fprintf(stderr, "Dropping excess audio encoders\n"); } } - acodec = hb_audio_encoder_get_default(mux); + if (ii != 1) + { + acodec = hb_audio_encoder_get_default(mux); + } for (; ii < track_count; ii++) { // We have fewer inputs than audio tracks, use the |