diff options
author | Rodeo <[email protected]> | 2012-03-28 23:09:08 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-03-28 23:09:08 +0000 |
commit | cca9c898d2f57047ab2cdabee8c794ddf2775aa7 (patch) | |
tree | 00092d02ab4c0d905296f875c5f1f3865aa23ad9 /libhb/encx264.c | |
parent | a9d238763d17fafb04f96deed93b798310303f7d (diff) |
encx264: use x264_param_apply_fastfirstpass.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4551 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 7836b9add..f48aa499a 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -263,6 +263,12 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) hb_apply_h264_level( ¶m, job->h264_level, job->x264_profile ); } + /* Turbo first pass */ + if( job->pass == 1 && job->fastfirstpass == 1 ) + { + x264_param_apply_fastfirstpass( ¶m ); + } + /* B-frames are on by default.*/ job->areBframes = 1; |