summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-10 13:17:54 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-10 13:17:54 +0000
commitb3241c226adb4ad888fde017021622ab9ad0f906 (patch)
treeeb45979ffb424fe4b9b3fa51101b190126b7f865 /stream
parent519497461a1a693524c5195ac35fb751c58e34d2 (diff)
downloadmpv-b3241c226adb4ad888fde017021622ab9ad0f906.tar.bz2
mpv-b3241c226adb4ad888fde017021622ab9ad0f906.tar.xz
ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs.
Patch by Lehel Bernadt [lehel pmc-services hu] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21570 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index ddbe637880..9bcef52b4a 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -975,7 +975,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
#endif
mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDsubtitleLanguage, d->nr_of_subtitles, tmp);
- mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_SUBTITLE_ID=%d\n", d->subtitles[d->nr_of_subtitles].id);
+ mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_SUBTITLE_ID=%d\n", d->nr_of_subtitles);
if(language && tmp[0])
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_SID_%d_LANG=%s\n", d->nr_of_subtitles, tmp);
d->nr_of_subtitles++;