summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authormaurj <[email protected]>2007-04-11 15:42:21 +0000
committermaurj <[email protected]>2007-04-11 15:42:21 +0000
commit988a7a66cec91d8df830c97285c28fe749a07664 (patch)
treef84b82fe81339dc5654ea6047718255c1464db4e /macosx
parentddc7ac09960746920ae8e48ac6f38a61c9f56d47 (diff)
Checking in macosx/Controller.mm, which should have been included with rev 494. it contains some changes to make the Mac GUI compile with the new audio mixdown code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@495 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 04d54ea7f..33df688b4 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -1380,7 +1380,7 @@ static int FormatSettings[3][4] =
} else {
audio = (hb_audio_t *) hb_list_item( fTitle->list_audio, job->audios[thisaudio] );
if (audio != NULL) {
- if (audio->channels == 5 && audio->lfechannels == 1) {
+ if (audio->src_discrete_front_channels == 3 && audio->src_discrete_rear_channels == 3 && audio->src_discrete_lfe_channels == 1) {
foundfiveoneaudio = true;
doneaudios = true; /* as it doesn't matter if we find any more! */
}