[MPlayer-cvslog] r32944 - trunk/stream/stream_dvdnav.c

cehoyos subversion at mplayerhq.hu
Sun Feb 20 19:07:49 CET 2011


Author: cehoyos
Date: Sun Feb 20 19:07:48 2011
New Revision: 32944

Log:
"FIx" chapter references (make them identical to dvd).

Patch by Mike Castle, dalgoda+mplayer gmail

Modified:
   trunk/stream/stream_dvdnav.c

Modified: trunk/stream/stream_dvdnav.c
==============================================================================
--- trunk/stream/stream_dvdnav.c	Sun Feb 20 02:10:52 2011	(r32943)
+++ trunk/stream/stream_dvdnav.c	Sun Feb 20 19:07:48 2011	(r32944)
@@ -524,7 +524,7 @@ static void identify(dvdnav_priv_t *priv
   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


More information about the MPlayer-cvslog mailing list