OSDN Git Service

MacGui: Fix subtitle code in Live Preview that borked Live Preview encodes which...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 16 Dec 2009 16:37:55 +0000 (16:37 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Wed, 16 Dec 2009 16:37:55 +0000 (16:37 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@3032 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.m

index ec0bc99..cfc7cad 100644 (file)
@@ -2980,12 +2980,10 @@ fWorkingCount = 0;
     }
 
     /* Subtitle settings */
-    NSMutableArray *subtitlesArray = nil;
-    subtitlesArray = [[NSMutableArray alloc] initWithArray:[fSubtitlesDelegate getSubtitleArray: subtitlesArray]];
-    
+    NSMutableArray *subtitlesArray = [[NSMutableArray alloc] initWithArray:[fSubtitlesDelegate getSubtitleArray] copyItems:YES];
     
     
- int subtitle = nil;
+int subtitle = nil;
 int force;
 int burned;
 int def;