From d788a4e391e103413ac92e7513bf6d0e13e11a65 Mon Sep 17 00:00:00 2001 From: van Date: Fri, 3 Oct 2008 05:10:21 +0000 Subject: - 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 --- libhb/reader.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libhb/reader.c') diff --git a/libhb/reader.c b/libhb/reader.c index 75fd1b4fa..62102c243 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -209,6 +209,7 @@ static void ReaderFunc( void * _r ) list = hb_list_init(); hb_buffer_t *ps = hb_buffer_init( HB_DVD_READ_BUFFER_SIZE ); + r->demux.flaky_clock = r->title->flaky_clock; while( !*r->die && !r->job->done ) { @@ -381,6 +382,10 @@ static void ReaderFunc( void * _r ) } hb_log( "reader: done. %d scr changes", r->demux.scr_changes ); + if ( r->demux.dts_drops ) + { + hb_log( "reader: %d drops because DTS out of range", r->demux.dts_drops ); + } free( r ); _r = NULL; -- cgit v1.2.3