# HG changeset patch # User reimar # Date 1165756674 0 # Node ID 77ec48709f362a38fa9e9e1f8dca85e0cb59ba96 # Parent aeb38cf33689465e61c54e401004f037d6a82aef ID_SUBTITLE_ID should show the -sid number, not the vobsub id also for dvd subs. Patch by Lehel Bernadt [lehel pmc-services hu] diff -r aeb38cf33689 -r 77ec48709f36 stream/stream_dvd.c --- 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++;