OSDN Git Service

dvdnav: fix title scanning issue
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 13 Jun 2009 18:07:38 +0000 (18:07 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Sat, 13 Jun 2009 18:07:38 +0000 (18:07 +0000)
d->chapter needs to be initialized in hb_dvdnav_start.  chapter loop detection
was triggering on chapters from previous title scans

git-svn-id: svn://localhost/HandBrake/trunk@2527 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/dvdnav.c

index 4c6fd9a..2a161d4 100644 (file)
@@ -842,6 +842,7 @@ static int hb_dvdnav_start( hb_dvd_t * e, hb_title_t *title, int c )
     }
     d->title = t;
     d->stopped = 0;
+    d->chapter = c;
     return 1;
 }