summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-12-05 05:09:05 +0000
committervan <[email protected]>2008-12-05 05:09:05 +0000
commitdea975e8c71f793ce0ed95c137e83528a501c643 (patch)
treececa3339d0c8aa569d151023a92fc4430eb1aff7 /libhb/stream.c
parentc6fc88888ef58b2063594659f3e08c1251ea776a (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/stream.c')
-rwxr-xr-xlibhb/stream.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 71e9cb812..f95d3518c 100755
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -518,13 +518,6 @@ hb_stream_t * hb_stream_open( char *path, hb_title_t *title )
d->ts_buf[i]->size = 0;
}
hb_stream_seek( d, 0. );
-
- if ( d->packetsize == 188 )
- {
- // Assume that an over-the-air transport stream can lose PCR
- // packets and try to filter out the timing inconsistencies.
- title->flaky_clock = 1;
- }
}
return d;
}