]> granicus.if.org Git - handbrake/commitdiff
Macgui: fix issue where choosing an srt subtitle file would fail to autmatically...
authordynaflash <dynaflashtech@gmail.com>
Wed, 7 Oct 2009 17:06:07 +0000 (17:06 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Wed, 7 Oct 2009 17:06:07 +0000 (17:06 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2873 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBSubtitles.m

index ad66e932f8ebec67be9dbcec22544008cddda1d6..95ffad0227bd019a24f3c6b1b2096494cd22d8ee 100644 (file)
     [newSubtitleSourceTrack setObject:displayname forKey:@"sourceTrackName"];
     /* Subtitle Source track type (Source, Srt, etc.) */
     [newSubtitleSourceTrack setObject:@"SRT" forKey:@"sourceTrackType"];
+    [newSubtitleSourceTrack setObject:@"SRT" forKey:@"subtitleSourceTrackType"];
     /* Subtitle Source track type */
     [newSubtitleSourceTrack setObject:filePath forKey:@"sourceSrtFilePath"];
     /* Subtitle Source track popup isPictureSub */ 
     {
         [newSubtitleSrtTrack setObject:[NSNumber numberWithInt:[subtitleSourceArray count]] forKey:@"subtitleSourceTrackNum"];
     }
+    
+    [newSubtitleSrtTrack setObject:@"SRT" forKey:@"sourceTrackType"];
+    [newSubtitleSrtTrack setObject:@"SRT" forKey:@"subtitleSourceTrackType"];
     /* Subtitle Source track popup language */
     [newSubtitleSrtTrack setObject:displayname forKey:@"subtitleSourceTrackName"];
     /* Subtitle Source track popup isPictureSub */