cache: Don't mess up current position if time-based seek fails
commit848610a002d529a3131c270db5d47afaea088a47
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 3 Aug 2010 05:18:28 +0000 (3 05:18 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 2 Nov 2010 02:15:01 +0000 (2 04:15 +0200)
tree6d51e173e7e528880a46bf51d296e01b3d487bf4
parent9e218d2df19e7fc9390da774de382488b535a64e
cache: Don't mess up current position if time-based seek fails

Avoid STREAM_CTRL_SEEK_TO_TIME messing up the current position for stream
types which do not support it.
Fixes seeking in local flv files.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31907 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/cache2.c