summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-01-25 15:52:53 +0000
committerRodeo <[email protected]>2012-01-25 15:52:53 +0000
commit622608df8fcda1f5c7ae0425ec86cdfeefdd61d3 (patch)
tree24cd128c7a0f86c4c0bc0b0a5a1da0397aa50b3a /libhb
parent5207c9fa51188db3aa016760a53c87c0abbdab29 (diff)
ca_aac: set minimum VBR quality to 1 instead of 0.
That way, (high-low)/granularity divides cleanly by 1. Old qualities (low to high in increments of granularity): { 0, 9, 18, 27, 36, 45, 54, 63, 72, 81, 90, 99, 108, 117, 126 } (the default, 91, is not in that list) New qualities (low to high in increments of granularity): { 1, 10, 19, 28, 37, 46, 55, 64, 73, 82, 91 (default), 100, 109, 118, 127 } Actual output is unchanged (ca_aac has quality ranges; a 1-point bump will not change the range for each quality). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4422 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 00ed1555f..20eb7acff 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -526,7 +526,7 @@ void hb_get_audio_quality_limits(uint32_t codec, float *low, float *high, float
case HB_ACODEC_CA_AAC:
*direction = 0;
*granularity = 9;
- *low = 0.;
+ *low = 1.;
*high = 127.0;
break;