summaryrefslogtreecommitdiffstats
path: root/libhb/hb.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-13 21:51:14 +0000
committerjstebbins <[email protected]>2011-03-13 21:51:14 +0000
commit9d05a2b4756b2bbffac60eb50fc98e6cb1f4f9f0 (patch)
treea9f15a7749f49a8cb5e610b47343026f0436797b /libhb/hb.h
parent1e6f3e13c431598ea8338fa19dd0f2504e2b3ef5 (diff)
fix 2 pass cfr x264 crash
An error in interjob->vrate calculation lead to specifying a different timebase for the 1st and 2nd pass which x264 does not allow. This improves the interjob->vrate calculation accuracy and also guarantees the timebase is the same on both passes regardless of the calculations accuracy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3848 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb.h')
-rw-r--r--libhb/hb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/hb.h b/libhb/hb.h
index 56566f330..5729088cf 100644
--- a/libhb/hb.h
+++ b/libhb/hb.h
@@ -80,8 +80,8 @@ typedef struct hb_interjob_s
{
int last_job; /* job->sequence_id & 0xFFFFFF */
int frame_count; /* number of frames counted by sync */
+ int out_frame_count; /* number of frames counted by render */
uint64_t total_time; /* real length in 90khz (i.e. / 90000 */
- int render_dropped; /* frames droped by telecine */
int vrate; /* actual measured output vrate from 1st pass */
int vrate_base; /* actual measured output vrate_base from 1st pass */