changeset 3824:be5e58955f57

don't reset timer at seek - req. for dxr3
author arpi
date Fri, 28 Dec 2001 01:38:40 +0000
parents a88100f9e7c0
children 7735c5a87121
files libmpdemux/demuxer.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Fri Dec 28 01:37:34 2001 +0000
+++ b/libmpdemux/demuxer.c	Fri Dec 28 01:38:40 2001 +0000
@@ -687,8 +687,12 @@
     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){