summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
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/reader.c
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/reader.c')
-rw-r--r--libhb/reader.c5
1 files changed, 5 insertions, 0 deletions
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;