OSDN Git Service

A line went missing from Controller.mm in the reorg of that file, you
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 26 Sep 2007 21:49:47 +0000 (21:49 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 26 Sep 2007 21:49:47 +0000 (21:49 +0000)
must tell the first pass of a two pass to not participate in the subtitle
auto select.

git-svn-id: svn://localhost/HandBrake/trunk@991 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 4d18e97..1ace6be 100644 (file)
@@ -1622,6 +1622,11 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
         hb_subtitle_t **subtitle_tmp = job->select_subtitle;
         job->indepth_scan = 0;
 
+        /*
+         * Do not autoselect subtitles on the first pass of a two pass
+         */
+        job->select_subtitle = NULL;
+        
         job->pass = 1;
         job->sequence_id++; // for job grouping
         hb_add( fHandle, job );