summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideoController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBVideoController.m')
-rw-r--r--macosx/HBVideoController.m2
1 files changed, 1 insertions, 1 deletions
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];