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 /libhb/common.c | |
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 'libhb/common.c')
-rw-r--r-- | libhb/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.c b/libhb/common.c index fed775b4b..29b8ea833 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -3001,6 +3001,7 @@ static void job_setup(hb_job_t * job, hb_title_t * title) job->vcodec = HB_VCODEC_FFMPEG_MPEG4; job->vquality = -1.0; job->vbitrate = 1000; + job->twopass = 0; job->pass = 0; job->vrate = title->vrate; |