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/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/internal.h') diff --git a/libhb/internal.h b/libhb/internal.h index 8d927501c..7d7594802 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -174,7 +174,7 @@ typedef struct hb_stream_s hb_stream_t; hb_dvd_t * hb_dvd_init( char * path ); int hb_dvd_title_count( hb_dvd_t * ); hb_title_t * hb_dvd_title_scan( hb_dvd_t *, int title ); -int hb_dvd_start( hb_dvd_t *, int title, int chapter ); +int hb_dvd_start( hb_dvd_t *, hb_title_t *title, int chapter ); void hb_dvd_stop( hb_dvd_t * ); int hb_dvd_seek( hb_dvd_t *, float ); int hb_dvd_read( hb_dvd_t *, hb_buffer_t * ); -- cgit v1.2.3