From b3241c226adb4ad888fde017021622ab9ad0f906 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 10 Dec 2006 13:17:54 +0000 Subject: 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 --- stream/stream_dvd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_dvd.c') 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++; -- cgit v1.2.3