From f76035d5b5ffdc42a3c5af3973e0b9d82c080bd6 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Fri, 11 Apr 2008 19:36:07 +0000 Subject: [PATCH] Let's try out saner b-frame init delays again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1404 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx264.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libhb/encx264.c b/libhb/encx264.c index c9fbffec9..62c987244 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -289,10 +289,8 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) pv->init_delay = 7506; } - /* The delay is 2 frames for regular b-frames, 3 for b-pyramid. - Since job->areBframes is 1 for b-frames and 2 for b-pyramid, - add one to it and use it as a multiplier. */ - pv->init_delay *= ( job->areBframes + 1); + /* The delay is 1 frames for regular b-frames, 2 for b-pyramid. */ + pv->init_delay *= job->areBframes; } return 0; -- 2.49.0