From c550723257a62601b8a9331140b9eecfbdca1b79 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 20 Apr 2010 02:19:16 +0000 Subject: add dvd main feature title detection scans the dvd menus and presses buttons to see where they might lead. when a button press leads to a title, i check to see if it is the longest seen thus far and save it's index. this only applies when dvdnav is enabled. when dvdread is in use, the longest title of all the titles is flagged as the "main feature" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3245 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/dvd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libhb/dvd.h') diff --git a/libhb/dvd.h b/libhb/dvd.h index bcba78ea4..79cf4e888 100644 --- a/libhb/dvd.h +++ b/libhb/dvd.h @@ -79,6 +79,7 @@ struct hb_dvd_func_s int (* chapter) ( hb_dvd_t * ); int (* angle_count) ( hb_dvd_t * ); void (* set_angle) ( hb_dvd_t *, int ); + int (* main_feature)( hb_dvd_t *, hb_list_t * ); }; typedef struct hb_dvd_func_s hb_dvd_func_t; -- cgit v1.2.3