diff options
author | dynaflash <[email protected]> | 2007-03-24 15:04:29 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-03-24 15:04:29 +0000 |
commit | 72508e88b7f4d09b42f3341546d2e838787bf510 (patch) | |
tree | d191ec734ca9b106a0f842662d4fc7713e54db75 /test/test.c | |
parent | 3be01292bc6526ba1ee14b77e37646769c81c939 (diff) |
saintdev's fix to correctly allocate bitrate for non-stereo audio
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@447 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index 38e58a23d..bc6b51ab0 100644 --- a/test/test.c +++ b/test/test.c @@ -963,7 +963,14 @@ static int CheckOptions( int argc, char ** argv ) { /* only attempt 5.1 export if exporting to AAC */ surround = 0; - } + } else { + if (!abitrate && surround) + { + /* If we don't get a audio bitrate on the command line, and + surround is being used, default to 384 */ + abitrate = 384; + } + } } |