[MPlayer-cvslog] r31324 - trunk/libmpdemux/demux_lavf.c
reimar
subversion at mplayerhq.hu
Sat Jun 5 18:00:49 CEST 2010
Author: reimar
Date: Sat Jun 5 18:00:49 2010
New Revision: 31324
Log:
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.
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Sat Jun 5 17:57:57 2010 (r31323)
+++ trunk/libmpdemux/demux_lavf.c Sat Jun 5 18:00:49 2010 (r31324)
@@ -113,8 +113,6 @@ static int64_t mp_seek(void *opaque, int
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);
More information about the MPlayer-cvslog
mailing list