From 84d152fecb516134d1d89d4689761430d6aa0a0d Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 12 Jan 2015 17:15:19 +0000 Subject: 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 --- libhb/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb/common.c') 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; -- cgit v1.2.3