summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-31 07:33:08 +0000
committerritsuka <[email protected]>2014-12-31 07:33:08 +0000
commitdde5fd02d10e1a76dc8a600f6e2ad69c6a6f1e65 (patch)
treedd79ee874307a05891a05aa2e56a6afe1aa6ef31 /macosx/HBJob.m
parent72531bc27dda83a89049f4c45578fc2aad434c15 (diff)
MacGui: use HB_VCODEC_H264_MASK to check whether to enable or not the iPod 5g atom.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6679 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 3e0c8e3ec..1ae0954e9 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -236,7 +236,7 @@ NSString *keyContainerTag = @"keyContainerTag";
job->chapter_markers = 0;
}
- if (job->vcodec == HB_VCODEC_X264)
+ if (job->vcodec & HB_VCODEC_H264_MASK)
{
// iPod 5G atom
job->ipod_atom = self.mp4iPodCompatible;