diff options
author | Damiano Galassi <[email protected]> | 2019-06-07 12:35:03 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2019-06-07 12:35:03 +0200 |
commit | 703fbc82f6c1d25ec9df123d4257953279e3e8a3 (patch) | |
tree | a9af67e61399f24edf3917e18661967ed6a501cf /macosx/HBVideo+UIAdditions.m | |
parent | 21e20f75d62c795f5e437f57068bd14923a45019 (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.m | 2 |
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; } |