summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorvan <[email protected]>2008-10-03 05:10:21 +0000
committervan <[email protected]>2008-10-03 05:10:21 +0000
commitd788a4e391e103413ac92e7513bf6d0e13e11a65 (patch)
tree1f3405713226bde9afafde48275d48ee3eb13d05 /libhb/internal.h
parentccf8c8ce045d6e48194315dc4a42dc0d1a3b515c (diff)
- Only do 'lost PCR' checks (r1712) when we're dealing with something that could be an over-the-air transport stream. We can't lose the clock of a program stream and shouldn't have losses on an m2ts stream.
- Widen the DTS-to-PCR acceptance window from +-5sec to +-5min since there's nothing in the standard that bounds the offset between a DTS and its clock reference. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1802 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 5f04e3852..e9828fdb9 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -108,6 +108,8 @@ hb_work_object_t * hb_codec_encoder( int );
typedef struct {
int64_t last_scr; /* unadjusted SCR from most recent pack */
int scr_changes; /* number of SCR discontinuities */
+ int flaky_clock; /* try to compensate for PCR drops */
+ int dts_drops; /* number of drops because DTS too far from SCR */
} hb_psdemux_t;
int hb_demux_ps( hb_buffer_t * ps_buf, hb_list_t * es_list, hb_psdemux_t * );