summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-01-27 13:31:39 +0000
committerRodeo <[email protected]>2015-01-27 13:31:39 +0000
commite5b20256f450f1ee8d9bd182be54c9746d5e4585 (patch)
tree116b8d71da61083d7c9b1f513bc78b1e62014056
parent6823cb8cc2734ca388a9fcdec1e0e347fc4f32d0 (diff)
CLI: fix turbo first pass.
It was broken in revision 6738. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6819 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--test/test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c
index 59640d3f6..c56a90b49 100644
--- a/test/test.c
+++ b/test/test.c
@@ -128,7 +128,7 @@ static char * h264_profile = NULL;
static char * h264_level = NULL;
static int maxHeight = 0;
static int maxWidth = 0;
-static int turbo_opts_enabled = 0;
+static int fastfirstpass = 0;
static int preset = 0;
static char * preset_name = 0;
static int cfr = 0;
@@ -2812,6 +2812,7 @@ static int HandleEvents( hb_handle_t * h )
job->indepth_scan = subtitle_scan;
job->twopass = twoPass;
+ job->fastfirstpass = fastfirstpass;
hb_job_set_encoder_options(job, advanced_opts);
hb_add( h, job );
@@ -4135,7 +4136,7 @@ static int ParseOptions( int argc, char ** argv )
" ");
exit(0);
case 'T':
- turbo_opts_enabled = 1;
+ fastfirstpass = 1;
break;
case 'Y':
maxHeight = atoi( optarg );