summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-02-21 23:56:12 +0000
committerRodeo <[email protected]>2012-02-21 23:56:12 +0000
commit8bd4efe5c7891fc428d56690dfd11aece7734d0e (patch)
tree396f9e2b342ff01b629d3623cf0da7b5f9658b43 /libhb/common.h
parent2599def15a4b622c9f0e6d354dd9c0ad90531d6c (diff)
Add HB_INVALID_AUDIO_QUALITY define. -1 is valid for Vorbis VBR and thus doesn't work for this purpose.
Fixes Vorbis VBR with --aq < 0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4461 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index d8ba0efa6..40af25df6 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -456,6 +456,9 @@ struct hb_job_s
#define HB_INPUT_CH_LAYOUT_GET_ENCODED_FRONT_COUNT( a ) ( ( a & HB_INPUT_CH_LAYOUT_ENCODED_FRONT_MASK ) >> 4 )
#define HB_INPUT_CH_LAYOUT_GET_ENCODED_REAR_COUNT( a ) ( ( a & HB_INPUT_CH_LAYOUT_ENCODED_REAR_MASK ) )
+/* define an invalid VBR quality compatible with all VBR-capable codecs */
+#define HB_INVALID_AUDIO_QUALITY (-3.)
+
struct hb_audio_config_s
{
/* Output */