demux_mkv: Make seeks more precise in some cases
commitd9977e1c818d589e83e8dc2f0da84ad2e4960d86
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 9 Jul 2009 15:13:49 +0000 (9 18:13 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 9 Jul 2009 15:13:49 +0000 (9 18:13 +0300)
treed59770ca8c54df8e2453d7f8c13a9e5d67492537
parent87366694d82c8d4c7f0bc210e6baa0ccd651d0c2
demux_mkv: Make seeks more precise in some cases

When seeking backward, after seeking to the file position specified by
an index entry skip packets until the timecode of that index entry.
The existence of the entry should guarantee a keyframe there before
the seek target time.
libmpdemux/demux_mkv.c