1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 08:57:00 +00:00

Print current DVD title as ID_DVD_CURRENT_TITLE.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20092 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
corey 2006-10-06 19:06:59 +00:00
parent cf1f02a6cd
commit c3c17fc952

View File

@ -649,6 +649,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
m_struct_free(&stream_opts,opts);
return STREAM_UNSUPORTED;
}
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_DVD_CURRENT_TITLE=%d\n", dvd_title);
--dvd_title; // remap 1.. -> 0..
/**
* Make sure the chapter number is valid for this title.