summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.c9
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;
+ }
+ }
}