From 735694b97dd36152b686f1af0b7eb8e4f5e3651d Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sat, 13 Jun 2009 18:07:38 +0000 Subject: [PATCH] dvdnav: fix title scanning issue 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index 4c6fd9a3..2a161d4d 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -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; } -- 2.11.0