summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2007-06-06 02:09:41 +0000
committerjbrjake <[email protected]>2007-06-06 02:09:41 +0000
commit98d438e568256d1815c374651c41090111b0db45 (patch)
tree61800965a9b315883e6eb2dfdc36909d588fcbfe /libhb/common.h
parent1200c74a82f4715bc1d0651aeb4d39f6a3c9d449 (diff)
A big batch of patches from eddyg.
Adds following options to the CLI: --subtitle-scan for auto-selecting subtitles for foreign language segments in native language audio tracks --native-language for auto-selecting subtitles for foreign language audio without knowing the track number --longest for auto-selecting the longest title like in the MacGui --turbo for improving speed on the first pass of a two pass encode with x264 (based on superdump's turbo x264 options in mencoder). Thanks, eddyg! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@600 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 8b09c85c9..116f99a93 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -245,6 +245,10 @@ struct hb_job_s
int mux;
const char * file;
+ int subtitle_scan;
+ hb_subtitle_t ** select_subtitle;
+ char * native_language;
+
#ifdef __LIBHB__
/* Internal data */
hb_handle_t * h;
@@ -360,6 +364,8 @@ struct hb_subtitle_s
char lang[1024];
char iso639_2[4];
+ int hits; /* How many hits/occurrences of this subtitle */
+
#ifdef __LIBHB__
/* Internal data */
hb_fifo_t * fifo_in; /* SPU ES */