diff options
author | jbrjake <[email protected]> | 2009-08-09 17:37:30 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2009-08-09 17:37:30 +0000 |
commit | 15e340ccdb725fe0523bab0a56ba3ee9dcd89694 (patch) | |
tree | 4dd2c6fafc12ffa97ed3205f741ded185fa9a4a2 | |
parent | e0da9d994d25f017b54e82fcd97cbd5aa9097e08 (diff) |
Blah, need to pay more attention when transcripting patches. job->areBframes needs to be on when no x264 opts are specified. Thanks again, Rodeo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2758 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/encx264.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index e0f9f3401..249d42c5a 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -136,6 +136,9 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) param.i_level_idc ); } + /* B-frames are on by default.*/ + job->areBframes = 1; + /* This section passes the string x264opts to libx264 for parsing into parameter names and values. @@ -184,7 +187,6 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) barfs. So, check if the x264opts aren't using B-frames, and when they aren't, set the boolean job->areBframes as false. */ - job->areBframes = 1; if( !( strcmp( name, "bframes" ) ) ) { if( atoi( value ) == 0 ) |