summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authorcorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-06 19:06:59 +0000
committercorey <corey@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-06 19:06:59 +0000
commitc3c17fc952b17867f8604474c5a45e799365889e (patch)
tree5cc2cf05be1ceef1e733a6ea62c9a896b655f864 /stream/stream_dvd.c
parentcf1f02a6cdb844a3412da0570b772324a7d12916 (diff)
downloadmpv-c3c17fc952b17867f8604474c5a45e799365889e.tar.bz2
mpv-c3c17fc952b17867f8604474c5a45e799365889e.tar.xz
Print current DVD title as ID_DVD_CURRENT_TITLE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20092 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index e842357d46..c3bdb0b3df 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -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.