From 3f9828657ded40e2eabfef8f01fa2182a4eccd36 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 26 Apr 2012 19:02:38 +0000 Subject: LinGui: allow the user to select and use a bitrate for audio autopassthru If the fallback encoder is used, the user should be able to set the bitrate that is used. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4604 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libhb') diff --git a/libhb/common.c b/libhb/common.c index 2cab52034..3f3097485 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -334,7 +334,10 @@ void hb_get_audio_bitrate_limits(uint32_t codec, int samplerate, int mixdown, in if( codec & HB_ACODEC_PASS_FLAG ) { // Bitrates don't apply to "lossless" audio (Passthru, FLAC) - *low = *high = -1; + // ... but may be applied if we fallback to an encoder + // when the source can not be passed. + *high = 768; + *low = 32; return; } switch( codec ) -- cgit v1.2.3