From 8306e8da55ce41e0ad6b799a165a4912872dac57 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sun, 9 Aug 2009 15:17:50 +0000 Subject: [PATCH] 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 --- libhb/encx264.c | 10 +++++----- 1 file 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; } } -- 2.40.0