summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-11-14 23:04:10 +0000
committerjstebbins <[email protected]>2011-11-14 23:04:10 +0000
commitcc95c30563cae17eff94e974f3e3dd07f1e2b309 (patch)
tree366b845e7453c6846e3ef570cb41dd22e567c6f6
parentf57f02b2ff71cbdd6ef0b9712343133c2c939946 (diff)
Fix spurious audio compression & quality log warning
quality and compression_level were not getting initialized to -1 for passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4350 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 2000c366a..65be729b8 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -1566,6 +1566,8 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg)
audio->config.out.mixdown = 0;
audio->config.out.dynamic_range_compression = 0;
audio->config.out.gain = 0;
+ audio->config.out.compression_level = -1;
+ audio->config.out.quality = -1;
}
else
{