diff options
author | ritsuka <[email protected]> | 2014-11-02 15:46:58 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-11-02 15:46:58 +0000 |
commit | b03b8742775651e55fb4f30981708caa94c50f5e (patch) | |
tree | 946eac9f78d31bc0978702f365a9b315f9baa0f2 /macosx | |
parent | cdbf8a54bf52ac4bbdff5d39484c711a4237d1cf (diff) |
MacGui: do not set the same value twice in the job dict (ChapterStart/ChapterEnd).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6499 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 7bc285fe3..a32f71cf4 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -2559,12 +2559,6 @@ fWorkingCount = 0; [subtitlesArray release]; /* Now we go ahead and set the "job->values in the plist for passing right to fQueueEncodeLibhb */ - - [queueFileJob setObject:[NSNumber numberWithInteger:[fSrcChapterStartPopUp indexOfSelectedItem] + 1] forKey:@"JobChapterStart"]; - - [queueFileJob setObject:[NSNumber numberWithInteger:[fSrcChapterEndPopUp indexOfSelectedItem] + 1] forKey:@"JobChapterEnd"]; - - [queueFileJob setObject:[NSNumber numberWithInteger:[[fDstFormatPopUp selectedItem] tag]] forKey:@"JobFileFormatMux"]; /* Codecs */ @@ -3306,8 +3300,8 @@ fWorkingCount = 0; { /* Chapter selection */ [HBUtilities writeToActivityLog: "Start / Stop set to chapters"]; - job->chapter_start = [[queueToApply objectForKey:@"JobChapterStart"] intValue]; - job->chapter_end = [[queueToApply objectForKey:@"JobChapterEnd"] intValue]; + job->chapter_start = [[queueToApply objectForKey:@"ChapterStart"] intValue]; + job->chapter_end = [[queueToApply objectForKey:@"ChapterEnd"] intValue]; } else if ([[queueToApply objectForKey:@"fEncodeStartStop"] intValue] == 1) { |