diff options
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 509668e17..e328c95c0 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -11,14 +11,12 @@ - (BOOL)mp4OptionsEnabled { - if (self.container & HB_MUX_MASK_MP4) - { - return YES; - } - else - { - return NO; - } + return ((self.container & HB_MUX_MASK_MP4) != 0); +} + +- (BOOL)mp4iPodCompatibleEnabled +{ + return ((self.container & HB_MUX_MASK_MP4) != 0) && (self.video.encoder & HB_VCODEC_H264_MASK); } - (NSArray *)angles |