core/hrseek: support precise seeks in audio-only case
commit0aa8df2b7d95ba270394c1a1d2a11ccd73956a56
authorUoti Urpala <uau@mplayer2.org>
Sun, 6 Nov 2011 13:41:39 +0000 (6 15:41 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 14 Nov 2011 18:24:39 +0000 (14 20:24 +0200)
tree7d0e1b9961193d970a179813eb9fcc9fffa189f9
parent32b2242d677aed39167b8c2b57d3d6538b48acd7
core/hrseek: support precise seeks in audio-only case

Before, precise seeking only worked if there was a video stream; in
the audio-only case playback always started from the demuxer seek
position. Add code to cut away samples from the demuxer seek position
to the seek target position.
mplayer.c