summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBVideo.m')
-rw-r--r--macosx/HBVideo.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m
index 490bb29be..b1a002bba 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -504,8 +504,7 @@ NSString * const HBVideoChangedNotification = @"HBVideoChangedNotification";
self.notificationsEnabled = NO;
// map legacy encoder names via libhb.
- const char *strValue = hb_video_encoder_sanitize_name([preset[@"VideoEncoder"] UTF8String]);
- self.encoder = hb_video_encoder_get_from_name(strValue);
+ self.encoder = hb_video_encoder_get_from_name([preset[@"VideoEncoder"] UTF8String]);
if (self.encoder == HB_VCODEC_X264 || self.encoder == HB_VCODEC_X265)
{