diff options
author | van <[email protected]> | 2008-12-05 05:09:05 +0000 |
---|---|---|
committer | van <[email protected]> | 2008-12-05 05:09:05 +0000 |
commit | dea975e8c71f793ce0ed95c137e83528a501c643 (patch) | |
tree | ceca3339d0c8aa569d151023a92fc4430eb1aff7 /libhb/internal.h | |
parent | c6fc88888ef58b2063594659f3e08c1251ea776a (diff) |
More code to deal with the flakey streams from NZ TV. They like to change the PCR without sending a new PCR and we get big timestamp changes but no new reference clock. So now we look at the PTS and if its change is outside a tolerance window we use the new PTS as a PCR & declare a clock discontinuity.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2008 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/internal.h b/libhb/internal.h index 19a3bd2b3..fa3fe86f6 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -147,8 +147,8 @@ hb_work_object_t * hb_codec_encoder( int ); **********************************************************************/ typedef struct { int64_t last_scr; /* unadjusted SCR from most recent pack */ + int64_t last_pts; /* last pts we saw */ 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; |