OSDN Git Service

Checking in macosx/Controller.mm, which should have been included with rev 494. ...
authormaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 11 Apr 2007 15:42:21 +0000 (15:42 +0000)
committermaurj <maurj@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 11 Apr 2007 15:42:21 +0000 (15:42 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@495 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 04d54ea..33df688 100644 (file)
@@ -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! */
                                        }