diff options
author | jbrjake <[email protected]> | 2009-08-09 15:17:50 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2009-08-09 15:17:50 +0000 |
commit | 8306e8da55ce41e0ad6b799a165a4912872dac57 (patch) | |
tree | 79a7ac1b2ca78ee06c79cd20c7be10ca1fecba42 /libhb/encx264.c | |
parent | 37f17b20c0534197156407810371eaa94a95e41e (diff) |
Oops, forgot the job->areBframes check needed to be updated for the new x264 defaults. Thanks for the catch, Rodeo.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2756 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c index 5e3fbc03c..e0f9f3401 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -181,15 +181,15 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) When B-frames are enabled, the max frame count increments by 1 (regardless of the number of B-frames). If you don't change the duration of the video track when you mux, libmp4 - barfs. So, check if the x264opts are using B-frames, and - when they are, set the boolean job->areBframes as true. + 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 ) + if( atoi( value ) == 0 ) { - job->areBframes = 1; + job->areBframes = 0; } } |