changeset 32857:a043645045bf

"FIx" chapter references (make them identical to dvd). Patch by Mike Castle, dalgoda+mplayer gmail
author cehoyos
date Sun, 20 Feb 2011 18:07:48 +0000
parents 559e0f6d9d8b
children 523886fb268e
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Sun Feb 20 01:10:52 2011 +0000
+++ b/stream/stream_dvdnav.c	Sun Feb 20 18:07:48 2011 +0000
@@ -524,7 +524,7 @@
   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