summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m11
1 files changed, 2 insertions, 9 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 6578c9710..921eb4304 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -61,14 +61,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
- (void)applyPreset:(HBPreset *)preset
{
- if (preset.isDefault)
- {
- self.presetName = [NSString stringWithFormat:@"%@ (Default)", preset.name];
- }
- else
- {
- self.presetName = preset.name;
- }
+ self.presetName = preset.name;
NSDictionary *content = preset.content;
@@ -87,7 +80,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
- (void)applyCurrentSettingsToPreset:(NSMutableDictionary *)dict
{
- dict[@"FileFormat"] = @(hb_container_get_name(self.container));
+ dict[@"FileFormat"] = @(hb_container_get_short_name(self.container));
dict[@"ChapterMarkers"] = @(self.chaptersEnabled);
// MP4 specifics options.
dict[@"Mp4HttpOptimize"] = @(self.mp4HttpOptimize);