summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-27 16:06:13 +0000
committerritsuka <[email protected]>2014-12-27 16:06:13 +0000
commit3acda4f9eb6a6c23f0a9c627aba354433656f70d (patch)
tree06d62a61d7946e4586b9690865c081db3a589475 /macosx/HBVideo.m
parent01c4bbf221e0815e9eb049b89f846b6a99a63f0a (diff)
MacGui: hide turbo two pass checkbox when x264 is not selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6663 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBVideo.m')
-rw-r--r--macosx/HBVideo.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m
index 4810fc397..7f3fa7435 100644
--- a/macosx/HBVideo.m
+++ b/macosx/HBVideo.m
@@ -167,7 +167,8 @@
retval = [NSSet setWithObjects:@"job.container", nil];
}
- if ([key isEqualToString:@"fastDecodeSupported"])
+ if ([key isEqualToString:@"fastDecodeSupported"] ||
+ [key isEqualToString:@"turboTwoPassSupported"])
{
retval = [NSSet setWithObjects:@"encoder", nil];
}