mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
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
This commit is contained in:
parent
30f755c5fb
commit
d3bfc447c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user