mirror of https://github.com/mpv-player/mpv
stream_dvdnav: don't skip last title for dvdnav:// -identify
Patch by Mike Castle, dalgoda+mplayer gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32944 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c246c09b03
commit
76bc005580
|
@ -524,7 +524,7 @@ static void identify(dvdnav_priv_t *priv, struct stream_priv_s *p)
|
|||
uint32_t titles=0, i;
|
||||
if(p->track <= 0) {
|
||||
dvdnav_get_number_of_titles(priv->dvdnav, &titles);
|
||||
for(i=0; i<titles; i++)
|
||||
for(i=1; i<=titles; i++)
|
||||
identify_chapters(priv->dvdnav, i);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue