diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-05 16:00:49 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-05 16:00:49 +0000 |
commit | 159f5f451dbc8e8766150122db62de498577270b (patch) | |
tree | 92752db617d27038b0092b079bad54dd9d32ed45 /libmpdemux | |
parent | 244b88472840fc5a404c35baa2655af8a972b158 (diff) | |
download | mpv-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.c | 2 |
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); |