summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-10-07 17:06:07 +0000
committerdynaflash <[email protected]>2009-10-07 17:06:07 +0000
commit70df288401ba5b0deee12f2e48d77d247ea2ebda (patch)
tree18ea449c6a7cf7ffd007c7a8d827ac737009b721
parent9a73d82e4812f2259a2c330d66c0c1ee83afd892 (diff)
Macgui: fix issue where choosing an srt subtitle file would fail to autmatically enable the appropriate srt subtitle widgets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2873 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBSubtitles.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m
index ad66e932f..95ffad022 100644
--- a/macosx/HBSubtitles.m
+++ b/macosx/HBSubtitles.m
@@ -366,6 +366,7 @@
[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 */
@@ -390,6 +391,9 @@
{
[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 */