summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-05-16 20:16:50 +0000
committerRodeo <[email protected]>2015-05-16 20:16:50 +0000
commit5aa278c113e0178b7ccd39b9339a0dbc50fd3463 (patch)
tree2e4cda24b14197b982798d5ec6047c4ac9acc33d /macosx/HBJob.m
parentf7575590ab950bd9f60412e1fbd97da752296dbd (diff)
MacGUI: don't double-sanitize encoder names.
*_get_from_name is where the encoder gets sanitized, *_sanitize_name is only required when you need the encoder name instead of its value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7196 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 921eb4304..021c53640 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -65,7 +65,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
NSDictionary *content = preset.content;
- self.container = hb_container_get_from_name(hb_container_sanitize_name([content[@"FileFormat"] UTF8String]));
+ self.container = hb_container_get_from_name([content[@"FileFormat"] UTF8String]);
// MP4 specifics options.
self.mp4HttpOptimize = [content[@"Mp4HttpOptimize"] boolValue];