summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-06-13 18:07:38 +0000
committerjstebbins <[email protected]>2009-06-13 18:07:38 +0000
commit4779df6821d2be09a9b02f28f6f4adedbc82560f (patch)
treed57fe58f6092a4ceb978643f486c72516501146b /libhb
parent5a48476a05a18fbd5385aab24134c7d0c6b7b59d (diff)
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://svn.handbrake.fr/HandBrake/trunk@2527 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/dvdnav.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c
index 4c6fd9a39..2a161d4d0 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;
}