summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Controller.mm')
-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! */
}