demux_mkv: Round more seeks to "backwards" keyframes
commit3f75062ca65cea46fa9e06ab5f5271ad310440fd
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 9 Jul 2009 15:23:35 +0000 (9 18:23 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 9 Jul 2009 15:23:35 +0000 (9 18:23 +0300)
treee857a9a30585632b2af6af5e8e5c54709d7faaf6
parentd9977e1c818d589e83e8dc2f0da84ad2e4960d86
demux_mkv: Round more seeks to "backwards" keyframes

Allow more fuzziness in treating timestamps as inaccurate attempts to
seek "exactly" to a keyframe. A seek forward can now actually go to a
keyframe 5 ms back from the timecode, and correspondingly for seeks
backwards. Before only 1 ms was allowed. This helps with some
files that have inaccurate chapter boundaries.
libmpdemux/demux_mkv.c