changeset 19781:61cc28c4236a

at start, reset dvdnav at the beginning of the stream after the first read (that is done to workaround a bug in dvdnav from cvs)
author nicodvb
date Sun, 10 Sep 2006 10:53:58 +0000
parents 49d6e27228bc
children 85e7b710ae48
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Sun Sep 10 10:48:36 2006 +0000
+++ b/stream/stream_dvdnav.c	Sun Sep 10 10:53:58 2006 +0000
@@ -84,6 +84,7 @@
     char buf[2048];
     
     dvdnav_get_next_block(dvdnav_priv->dvdnav,buf,&event,&len);
+    dvdnav_sector_search(dvdnav_priv->dvdnav, 0, SEEK_SET);
   }
   
   /* turn off dvdnav caching */