diff options
author | jstebbins <[email protected]> | 2009-05-01 17:27:51 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-05-01 17:27:51 +0000 |
commit | 8cab795c817920ff023b6f0b8992a588e62c08c5 (patch) | |
tree | 37d6ba0f2bd800c152f23aba35edd7f42408b0c6 /libhb/reader.c | |
parent | 0bef438147a6807abb2b594d30451bb5d97933aa (diff) |
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
Diffstat (limited to 'libhb/reader.c')
-rw-r--r-- | libhb/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |