changeset 21554:77ec48709f36

ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs. Patch by Lehel Bernadt [lehel pmc-services hu]
author reimar
date Sun, 10 Dec 2006 13:17:54 +0000
parents aeb38cf33689
children ababf115f90d
files stream/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sun Dec 10 11:53:19 2006 +0000
+++ b/stream/stream_dvd.c	Sun Dec 10 13:17:54 2006 +0000
@@ -975,7 +975,7 @@
 #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++;