From 8cab795c817920ff023b6f0b8992a588e62c08c5 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Fri, 1 May 2009 17:27:51 +0000 Subject: dvdnav: improve title scanning - looks for ptt with longest pgc sequence instead of just picking first ptt solves many 'short title' problems - constructs chapters from the pg's within the pgc's instead of using ptt's solve the problem of ptt's that point to an intro pgc instead of to the actual chapter position in the title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2361 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/reader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/reader.c') diff --git a/libhb/reader.c b/libhb/reader.c index 78f24a457..0acbe0921 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -220,7 +220,7 @@ static void ReaderFunc( void * _r ) } /* end chapter mapping XXX */ - if( !hb_dvd_start( r->dvd, r->title->index, start ) ) + if( !hb_dvd_start( r->dvd, r->title, start ) ) { hb_dvd_close( &r->dvd ); return; -- cgit v1.2.3