summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-07-16 21:54:33 +0000
committerjstebbins <[email protected]>2014-07-16 21:54:33 +0000
commit19d357c612955436bc60d67657e60b5e41039991 (patch)
treee10cb041335bd4d0e0ae270ab0281e5b8460aa02 /test/test.c
parent8db87cbdc07558cf34fb8c734edf115333cc8719 (diff)
cli: allow user cli options to override defaults for fallback audio encoder
Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=68d8c5bfffd7081625bcd56fb7c4dad1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6236 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test.c b/test/test.c
index 085abcde0..b0c5b6010 100644
--- a/test/test.c
+++ b/test/test.c
@@ -2528,14 +2528,6 @@ static int HandleEvents( hb_handle_t * h )
"%s requested and input codec is not compatible for track %d, using %s encoder\n",
hb_audio_encoder_get_name(requested_passthru), audio->out.track,
hb_audio_encoder_get_name(audio->out.codec));
- // we didn't drop the track, set the mixdown and bitrate from libhb defaults
- audio->out.mixdown =
- hb_mixdown_get_default(audio->out.codec,
- audio->in.channel_layout);
- audio->out.bitrate =
- hb_audio_bitrate_get_default(audio->out.codec,
- audio->out.samplerate,
- audio->out.mixdown);
}
// we didn't drop the track
i++;