[MPlayer-dev-eng] [PATCH] Revert seeking
David Holm
dholm at iname.com
Wed Jan 16 21:02:34 CET 2002
Hi Arpi,
you can revert to the old seeking method again (I would prefer that).
The dxr3 doesn't require a pts > prev_pts, it was due to a bug in the
driver that it needed it, in fact, I now need a way of telling if the
user has seeked so I can flush the buffer. The only way to do it without
making major modifications to libvo is to revert to the old method of
setting vo_pts to 0 when seeking.
//David
-------------- next part --------------
Index: libmpdemux/demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.66
diff -u -r1.66 demuxer.c
--- libmpdemux/demuxer.c 16 Jan 2002 03:23:03 -0000 1.66
+++ libmpdemux/demuxer.c 16 Jan 2002 20:09:07 -0000
@@ -709,12 +709,8 @@
demuxer->video->eof=0;
demuxer->audio->eof=0;
-#if 1
- if(sh_audio) sh_audio->timer=sh_video->timer;
-#else
if(sh_audio) sh_audio->timer=0;
sh_video->timer=0; // !!!!!!
-#endif
switch(demuxer->file_format){
More information about the MPlayer-dev-eng
mailing list