summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-31 17:07:18 +0000
committerritsuka <[email protected]>2015-01-31 17:07:18 +0000
commitf4fae8fcc8a58329717b6375c6a142675dacac9b (patch)
treea6d7decdd2b033b2d004a6482db4350e2871e5f7 /macosx/HBSubtitles.m
parent6d57e42b6b2cc38cf256f2970b23b94121e49479 (diff)
MacGui: fix an issue where a "none" track could be added to hb_job_t.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6841 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitles.m')
-rw-r--r--macosx/HBSubtitles.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m
index 594a406dc..82eceb963 100644
--- a/macosx/HBSubtitles.m
+++ b/macosx/HBSubtitles.m
@@ -157,7 +157,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex";
- (NSMutableDictionary *)createSubtitleTrack
{
NSMutableDictionary *newSubtitleTrack = [[NSMutableDictionary alloc] init];
- newSubtitleTrack[keySubTrackIndex] = @0;
+ newSubtitleTrack[keySubTrackIndex] = @(-2);
newSubtitleTrack[keySubTrackSelectionIndex] = @0;
newSubtitleTrack[keySubTrackName] = @"None";
newSubtitleTrack[keySubTrackForced] = @0;