summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c6
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( &param, job->h264_level, job->x264_profile );
}
+ /* Turbo first pass */
+ if( job->pass == 1 && job->fastfirstpass == 1 )
+ {
+ x264_param_apply_fastfirstpass( &param );
+ }
+
/* B-frames are on by default.*/
job->areBframes = 1;