summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-04-20 02:19:16 +0000
committerjstebbins <[email protected]>2010-04-20 02:19:16 +0000
commitc550723257a62601b8a9331140b9eecfbdca1b79 (patch)
tree0bc7faefe6f94a5b513ee978b3fb6e8d11a7f66a /libhb/common.h
parent78aaa0da6e4f331d0c9d97a67a15f5eb1aafb5fe (diff)
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
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 69c6ddea0..33c3da2f7 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -155,6 +155,7 @@ struct hb_job_s
/* Pointer to the title to be ripped */
hb_title_t * title;
+ int feature; // Detected DVD feature title
/* Chapter selection */
int chapter_start;