core: timeline: prevent inaccurate seeks outside timeline
commit936ecea3494536d0bf2236ad91b34a1333674ce8
authorUoti Urpala <uau@mplayer2.org>
Sat, 15 Dec 2012 14:27:09 +0000 (15 16:27 +0200)
committerUoti Urpala <uau@mplayer2.org>
Sat, 15 Dec 2012 14:27:09 +0000 (15 16:27 +0200)
tree74267ba58fde447273b1354189a72b02a51e6978
parent514dd4789214a7723249d92f4263230671a1e652
core: timeline: prevent inaccurate seeks outside timeline

Ensure that even if a seek is inaccurate it will not show video from
outside the defined timeline. Previously, seeking to the beginning of
a segment could show frames from before the start of the segment if
the seek was done in inaccurate mode and the demuxer seeked to an
earlier position. Now hr-seek machinery is used to skip at least the
frames that should not be part of playback timeline at all.
mplayer.c