diff options
Diffstat (limited to 'libmpdemux/stream_dvd.c')
-rw-r--r-- | libmpdemux/stream_dvd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/stream_dvd.c b/libmpdemux/stream_dvd.c index f830e2a0a9..df5d438fba 100644 --- a/libmpdemux/stream_dvd.c +++ b/libmpdemux/stream_dvd.c @@ -469,6 +469,8 @@ static int mp_describe_titleset(dvd_reader_t *dvd, tt_srpt_t *tt_srpt, int vts_n for(title_no = 0; title_no < tt_srpt->nr_of_srpts; title_no++) { + if (tt_srpt->title[title_no].title_set_nr != vts_no) + continue; msec = mp_get_titleset_length(vts_file, tt_srpt, vts_no, title_no); mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_DVD_TITLE_%d_LENGTH=%d.%03d\n", title_no + 1, msec / 1000, msec % 1000); } |