diff options
Diffstat (limited to 'macosx/HBVideo+UIAdditions.m')
-rw-r--r-- | macosx/HBVideo+UIAdditions.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/HBVideo+UIAdditions.m b/macosx/HBVideo+UIAdditions.m index 46667a82e..b16572990 100644 --- a/macosx/HBVideo+UIAdditions.m +++ b/macosx/HBVideo+UIAdditions.m @@ -418,7 +418,7 @@ - (BOOL)isUnparsedSupported:(int)encoder { - return encoder & HB_VCODEC_X264_MASK; + return (encoder & HB_VCODEC_X264_MASK) != 0; } - (BOOL)isPresetSystemSupported:(int)encoder { @@ -427,12 +427,12 @@ - (BOOL)isSimpleOptionsPanelSupported:(int)encoder { - return encoder & HB_VCODEC_FFMPEG_MASK; + return (encoder & HB_VCODEC_FFMPEG_MASK) != 0; } - (BOOL)isOldAdvancedPanelSupported:(int)encoder { - return encoder & HB_VCODEC_X264_MASK; + return (encoder & HB_VCODEC_X264_MASK) != 0; } - (void)qualityLimitsForEncoder:(int)encoder low:(float *)low high:(float *)high granularity:(float *)granularity direction:(int *)direction |