summaryrefslogtreecommitdiffstats
path: root/libhb/deca52.c
diff options
context:
space:
mode:
authormaurj <[email protected]>2007-03-27 21:28:40 +0000
committermaurj <[email protected]>2007-03-27 21:28:40 +0000
commit557b5fb91bc4ea84418e4f56b7b8ae3b5fdda398 (patch)
tree83d4d165f7f35fbaab903a23214d6a5afa65eb68 /libhb/deca52.c
parent45dec221d2e25d7cb80ca3ae6631cde0d8891f0d (diff)
Amended the code comments about 6-channel and 1-channel audio extraction to reflect that it's no longer just for AAC, following saintdev's addition of 6-ch and 1-ch for OGM.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@458 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/deca52.c')
-rw-r--r--libhb/deca52.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/deca52.c b/libhb/deca52.c
index 511a9a15e..a5f312335 100644
--- a/libhb/deca52.c
+++ b/libhb/deca52.c
@@ -70,12 +70,12 @@ int deca52Init( hb_work_object_t * w, hb_job_t * job )
work.c has already done some of this deduction for us in do_job() */
if (w->config->a52.channelsused == 6) {
- /* we're going to be encoding to AAC,
+ /* we're going to be encoding to a 6ch-supporting format,
and have turned on the "preserve 5.1" flag */
pv->flags_out = A52_3F2R | A52_LFE;
} else if (w->config->a52.channelsused == 1) {
- /* we're going to be encoding to AAC, */
- /* and want to keep the mono-ness of the source audio */
+ /* we're going to be encoding to a 1ch-supporting format,
+ so mix down to a mono track */
pv->flags_out = A52_MONO;
} else if (w->config->a52.channelsused == 2 && w->config->a52.channels == 5 && w->config->a52.lfechannels == 1) {
/* we are mixing a 5.1 source down to stereo, so use dolby surround */