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:
cehoyos 2011-02-20 18:07:48 +00:00 committed by Uoti Urpala
parent c246c09b03
commit 76bc005580
1 changed files with 1 additions and 1 deletions

View File

@ -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