diff options
author | jstebbins <[email protected]> | 2015-01-12 17:15:19 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-01-12 17:15:19 +0000 |
commit | 84d152fecb516134d1d89d4689761430d6aa0a0d (patch) | |
tree | 325ba895366390a0ce2b2ca4ae5079e7a2fb9b50 /macosx/HBJob.m | |
parent | 2d6aa981b2da6536051b4d350d3b491bd970a957 (diff) |
Simplify frontend useage of hb_add()
Modify hb_add() to automatically add all necessary passes, so hb_add()
only needs to be called once per job. It now automatically adds subtitle
scan and 2-pass encoding passes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r-- | macosx/HBJob.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m index 62280becc..6bb19b2c0 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -233,6 +233,7 @@ NSString *keyContainerTag = @"keyContainerTag"; job->ipod_atom = self.mp4iPodCompatible; } + job->twopass = self.video.twoPass; if (job->vcodec == HB_VCODEC_X264 || job->vcodec == HB_VCODEC_X265) { // set fastfirstpass if 2-pass and Turbo are enabled |