From 93fb333304b2493a50623b04caac95b53eca3240 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 29 May 2015 22:20:35 +0000 Subject: MacGui: don't hardcode which encoders support the preset system. Just ask libhb instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7243 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBVideoController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/HBVideoController.m') diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index 0ffc87b5d..54a0e2d13 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -209,7 +209,7 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; { self.advancedController.hidden = YES; - if (self.video.encoder == HB_VCODEC_X264 || self.video.encoder == HB_VCODEC_X265) + if (hb_video_encoder_get_presets(self.video.encoder) != NULL) { [self toggleAdvancedOptionsCheckBoxForEncoder:self.video.encoder]; -- cgit v1.2.3