summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-01-12 17:15:19 +0000
committerjstebbins <[email protected]>2015-01-12 17:15:19 +0000
commit84d152fecb516134d1d89d4689761430d6aa0a0d (patch)
tree325ba895366390a0ce2b2ca4ae5079e7a2fb9b50 /libhb/common.h
parent2d6aa981b2da6536051b4d350d3b491bd970a957 (diff)
Simplify frontend useage of hb_add()
Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h
index f7952181f..0478d2b5d 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -494,7 +494,8 @@ struct hb_job_s
int vbitrate;
hb_rational_t vrate;
int cfr;
- int pass;
+ PRIVATE int pass;
+ int twopass; // Enable 2-pass encode. Boolean
int fastfirstpass;
char *encoder_preset;
char *encoder_tune;