[MPlayer-cvslog] r19787 - trunk/stream/stream_dvdnav.c

nicodvb subversion at mplayerhq.hu
Sun Sep 10 12:53:58 CEST 2006


Author: nicodvb
Date: Sun Sep 10 12:53:58 2006
New Revision: 19787

Modified:
   trunk/stream/stream_dvdnav.c

Log:
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)

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	(original)
+++ trunk/stream/stream_dvdnav.c	Sun Sep 10 12:53:58 2006
@@ -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 */



More information about the MPlayer-cvslog mailing list