summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorvan <[email protected]>2008-06-30 05:01:01 +0000
committervan <[email protected]>2008-06-30 05:01:01 +0000
commit9c5ffcd12957fcf93c4addd7ccc478c85304d047 (patch)
tree077a4794221f0705ddae3f3879e13e0b3ad95a08 /libhb/internal.h
parentda80bb8d441e3c12260f2f1bc0fff218112cb42d (diff)
- fix an error in the SCR calculation that would cause an extra frame to be dropped at an SCR discontinuity.
- fix a rounding error in the encx264 init_delay computation that would underestimate the delay for progressive content and cause spurious "init_delay too small" messages. - clean up the sync.c "video time didn't advance" logic and try to make the error mgs more useful for debugging frame duration problems. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1543 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 95545acc2..15b016b5c 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -108,6 +108,7 @@ typedef struct {
int64_t last_scr; /* unadjusted SCR from most recent pack */
int64_t scr_offset; /* discontinuity correction adjustment */
int scr_changes; /* number of SCR discontinuities */
+ int frame_duration; /* frame duration (in 90KHz ticks) */
} hb_psdemux_t;
int hb_demux_ps( hb_buffer_t * ps_buf, hb_list_t * es_list, hb_psdemux_t * );