diff options
author | saintdev <[email protected]> | 2007-09-16 03:09:07 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2007-09-16 03:09:07 +0000 |
commit | b67ea5e9820f3ed2e969da3ae94205e4097c5da6 (patch) | |
tree | 9867a351c8c351fc382e11ccf8eca89013d15e30 /libhb/work.c | |
parent | ae3318562ae54ad4d01e7a6bbb04cabff10abf0f (diff) |
Re-enable 6ch vorbis audio.
Vorbis won't allow bitrates < 168kbps with 6ch audio, so anything less is reset to 168kbps.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@966 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/work.c b/libhb/work.c index 5b3f914c2..326da8e61 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -326,9 +326,9 @@ static void do_job( hb_job_t * job, int cpu_count ) /* audioCodecsSupportMono and audioCodecsSupport6Ch are the same for now, but this may change in the future, so they are separated for flexibility */ int audioCodecsSupportMono = ((audio->codec == HB_ACODEC_AC3 || - audio->codec == HB_ACODEC_DCA) && job->acodec == HB_ACODEC_FAAC); + audio->codec == HB_ACODEC_DCA) && (job->acodec == HB_ACODEC_FAAC || job->acodec == HB_ACODEC_VORBIS)); int audioCodecsSupport6Ch = ((audio->codec == HB_ACODEC_AC3 || - audio->codec == HB_ACODEC_DCA) && job->acodec == HB_ACODEC_FAAC); + audio->codec == HB_ACODEC_DCA) && (job->acodec == HB_ACODEC_FAAC || job->acodec == HB_ACODEC_VORBIS)); /* find out what the format of our source audio is */ switch (audio->input_channel_layout & HB_INPUT_CH_LAYOUT_DISCRETE_NO_LFE_MASK) { |