]> granicus.if.org Git - handbrake/commitdiff
Fix spurious audio compression & quality log warning
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 14 Nov 2011 23:04:10 +0000 (23:04 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 14 Nov 2011 23:04:10 +0000 (23:04 +0000)
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

libhb/common.c

index 2000c366afe21e221c0b5af4ebb6a7769524a04e..65be729b8e32c9a8e8328d08392ead5316a209cd 100644 (file)
@@ -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
     {