summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-02-17 18:24:26 +0000
committerRodeo <[email protected]>2012-02-17 18:24:26 +0000
commit7912c65ff58fdc25d5a9e390ac73370fc898dfdb (patch)
tree54148bb88b157f4d86e9f9dab54488ada78010b7
parent616e9202fb4e157ca6b9de5d45f1064e7bf858c3 (diff)
Set default audio compression in hb_autopassthru_apply_settings to get rid of an annoying warning in the log.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4453 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 20eb7acff..006b374db 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -161,6 +161,7 @@ void hb_autopassthru_apply_settings( hb_job_t * job, hb_title_t * title )
audio->config.out.bitrate = hb_get_default_audio_bitrate( audio->config.out.codec,
audio->config.out.samplerate,
audio->config.out.mixdown );
+ audio->config.out.compression_level = hb_get_default_audio_compression( audio->config.out.codec );
}
else
{