diff options
author | jstebbins <[email protected]> | 2012-04-26 19:02:38 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-04-26 19:02:38 +0000 |
commit | 3f9828657ded40e2eabfef8f01fa2182a4eccd36 (patch) | |
tree | c7dfd72487792783c4559b803bfee392f974d140 /libhb/common.c | |
parent | 50745fe1c6d5d54055bc82f8e3052cee857f853d (diff) |
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
Diffstat (limited to 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 ) |