From 622608df8fcda1f5c7ae0425ec86cdfeefdd61d3 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Wed, 25 Jan 2012 15:52:53 +0000 Subject: 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 --- libhb/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3