summaryrefslogtreecommitdiffstats
path: root/macosx/HBVideo+UIAdditions.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-06-07 12:35:03 +0200
committerDamiano Galassi <[email protected]>2019-06-07 12:35:03 +0200
commit703fbc82f6c1d25ec9df123d4257953279e3e8a3 (patch)
treea9af67e61399f24edf3917e18661967ed6a501cf /macosx/HBVideo+UIAdditions.m
parent21e20f75d62c795f5e437f57068bd14923a45019 (diff)
MacGui: use HB_VCODEC_X264_MASK to check whether x264 is selected or not.
Diffstat (limited to 'macosx/HBVideo+UIAdditions.m')
-rw-r--r--macosx/HBVideo+UIAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m
index 1b2aef339..aaad74ad9 100644
--- a/macosx/HBVideo+UIAdditions.m
+++ b/macosx/HBVideo+UIAdditions.m
@@ -81,7 +81,7 @@
- (BOOL)fastDecodeSupported
{
- if (self.encoder != HB_VCODEC_X264)
+ if (!(self.encoder & HB_VCODEC_X264_MASK))
{
return NO;
}