diff options
author | jstebbins <[email protected]> | 2014-05-13 10:27:36 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-05-13 10:27:36 +0000 |
commit | 4f26df992773986e3134907aabca1efe216c7a59 (patch) | |
tree | 6973bd56e6519c7a5836c156bfec2910c356a7f6 /contrib/ffmpeg/module.defs | |
parent | fbef8a53808d5927abb8bdb1a99fac82d9901505 (diff) |
demux: fix problem with widely spaced SCRs
Fixes this bug report https://forum.handbrake.fr/viewtopic.php?f=12&t=30032
Split MPEG demuxer into TS demuxer and PS demuxer to allow using different
PCR/SCR delta tolerance in each scenario.
We were using a PCR/SCR delta tolerance that was a bit of a compromise
between the max allowed by the specification for TS vs PS streams. But
the spec for TS PCR is 100ms and the spec for PS SCR is 700ms, so we
risked false detection of discontinuities in PS. In PS streams that pack
multiple frames into one PES packet, the detection of a discontinuity
causes recalculation of an scr offset which jumps around wildly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6183 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/ffmpeg/module.defs')
0 files changed, 0 insertions, 0 deletions