[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.70,1.71

Alban Bedel CVS albeu at mplayerhq.hu
Thu Mar 27 21:45:58 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv8993/libmpdemux

Modified Files:
	open.c 
Log Message:
Switch to the new config header
Fix the chapter==0 bug when playing a list of title


Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- open.c	16 Mar 2003 20:13:28 -0000	1.70
+++ open.c	27 Mar 2003 20:45:54 -0000	1.71
@@ -14,7 +14,7 @@
 #include <sys/cdrio.h>
 #endif
 
-#include "../cfgparser.h"
+#include "../m_config.h"
 #include "stream.h"
 #include "demuxer.h"
 #include "mf.h"
@@ -897,6 +897,8 @@
   ifoClose(d->vmg_file);
   DVDCloseFile(d->title);
   DVDClose(d->dvd);
+  dvd_chapter = 1;
+  dvd_last_chapter = 0;
 }
 
 #endif



More information about the MPlayer-cvslog mailing list