summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-27 20:45:54 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-03-27 20:45:54 +0000
commitd3bfc447c1cd1e031e7fb0dc8934e5edb67c77e2 (patch)
treeac04f1fbf6e8632e7e1b65e83e57c29bc45e0a96 /libmpdemux
parent30f755c5fb3e5579da26d33a9a2b7b5f6fbe1366 (diff)
downloadmpv-d3bfc447c1cd1e031e7fb0dc8934e5edb67c77e2.tar.bz2
mpv-d3bfc447c1cd1e031e7fb0dc8934e5edb67c77e2.tar.xz
Switch to the new config header
Fix the chapter==0 bug when playing a list of title git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9713 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/open.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 111e256b67..83bab2c35f 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -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 @@ void dvd_close(dvd_priv_t *d) {
ifoClose(d->vmg_file);
DVDCloseFile(d->title);
DVDClose(d->dvd);
+ dvd_chapter = 1;
+ dvd_last_chapter = 0;
}
#endif