summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-05 16:00:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-05 16:00:49 +0000
commit159f5f451dbc8e8766150122db62de498577270b (patch)
tree92752db617d27038b0092b079bad54dd9d32ed45 /libmpdemux
parent244b88472840fc5a404c35baa2655af8a972b158 (diff)
downloadmpv-159f5f451dbc8e8766150122db62de498577270b.tar.bz2
mpv-159f5f451dbc8e8766150122db62de498577270b.tar.xz
Di not do a stream_reset on seeking backwards, the seek itself should
do whatever is best/necessary, this method will just drop cached data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31324 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_lavf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index 72363ef520..9fbe63427c 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -113,8 +113,6 @@ static int64_t mp_seek(void *opaque, int64_t pos, int whence) {
if(pos<0)
return -1;
- if(pos<stream->end_pos && stream->eof)
- stream_reset(stream);
current_pos = stream_tell(stream);
if(stream_seek(stream, pos)==0) {
stream_reset(stream);