changeset 3542:465329581ad8

reset ds eof flags at seeking - requires for mpeg -loop
author arpi
date Mon, 17 Dec 2001 00:03:50 +0000
parents 88ea5b89a09e
children 5a11cbf8791f
files libmpdemux/demuxer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sun Dec 16 23:59:28 2001 +0000
+++ b/libmpdemux/demuxer.c	Mon Dec 17 00:03:50 2001 +0000
@@ -620,6 +620,8 @@
     ds_free_packs(d_video);
     
     demuxer->stream->eof=0; // clear eof flag
+    demuxer->video->eof=0;
+    demuxer->audio->eof=0;
 
     if(sh_audio) sh_audio->timer=0;
     sh_video->timer=0; // !!!!!!