diff options
author | dynaflash <[email protected]> | 2007-03-25 06:03:28 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-03-25 06:03:28 +0000 |
commit | 3ec19d49783e379352029d754cec1bff61602afa (patch) | |
tree | 528af6b083914025387d71419afe7b8a17fb9886 /macosx/Controller.mm | |
parent | a6ab00ef65dbad601804caab237281838f307da8 (diff) |
MacGui: Added Chapter Markers to user presets
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@450 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r-- | macosx/Controller.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index acfb82f83..592eb6a21 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1550,6 +1550,8 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [preset setObject:[NSNumber numberWithInt:[fPresetNewPicSettingsApply state]] forKey:@"UsesPictureSettings"]; /* File Format */ [preset setObject:[fDstFormatPopUp titleOfSelectedItem] forKey:@"FileFormat"]; + /* Chapter Markers fCreateChapterMarkers*/ + [preset setObject:[NSNumber numberWithInt:[fCreateChapterMarkers state]] forKey:@"ChapterMarkers"]; /* Codecs */ [preset setObject:[fDstCodecsPopUp titleOfSelectedItem] forKey:@"FileCodecs"]; /* Video encoder */ @@ -1771,7 +1773,9 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow /* File Format */ [fDstFormatPopUp selectItemWithTitle: [NSString stringWithFormat:[chosenPreset valueForKey:@"FileFormat"]]]; [self FormatPopUpChanged: NULL]; - /* Codecs */ + /* Chapter Markers*/ + [fCreateChapterMarkers setState:[[chosenPreset objectForKey:@"ChapterMarkers"] intValue]]; + /* Codecs */ [fDstCodecsPopUp selectItemWithTitle: [NSString stringWithFormat:[chosenPreset valueForKey:@"FileCodecs"]]]; [self CodecsPopUpChanged: NULL]; /* Video encoder */ |