]> granicus.if.org Git - handbrake/commitdiff
Fix log pollution when Auto Passthru is not possible and uses the fallback audio...
authorRodeo <tdskywalker@gmail.com>
Sun, 28 Apr 2013 20:38:20 +0000 (20:38 +0000)
committerRodeo <tdskywalker@gmail.com>
Sun, 28 Apr 2013 20:38:20 +0000 (20:38 +0000)
"work: track 1, dithering not supported by codec"

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5421 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.c

index f9ba7a7618499d9ddaa2f9083c00d82db7944a18..95c9f921d009abb30349aa827509f486eff3b387 100644 (file)
@@ -2397,7 +2397,7 @@ int hb_audio_add(const hb_job_t * job, const hb_audio_config_t * audiocfg)
         audio->config.out.normalize_mix_level = 0;
         audio->config.out.compression_level = -1;
         audio->config.out.quality = HB_INVALID_AUDIO_QUALITY;
-        audio->config.out.dither_method = AV_RESAMPLE_DITHER_NONE;
+        audio->config.out.dither_method = hb_audio_dither_get_default();
     }
     else
     {