diff options
author | jstebbins <[email protected]> | 2011-10-02 21:28:45 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-10-02 21:28:45 +0000 |
commit | dac4f53ddacce1757351f3e96de4f2dd3ab633da (patch) | |
tree | 9646c88202cabb13543b64f94dd7d74bae3b5cb9 /libhb/common.h | |
parent | 4a09a1011d8f1561c5b32a0f92274c7bf4565c4c (diff) |
CLI: x264 preset, tuning, and profile support
New cli options --x264-preset, --x264-tune, and --x264-profile. x264
preset and tune are set first, followed by any custom x264 option string,
and finally the profile is applied.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4265 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index 41272b93f..2d275978f 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -257,6 +257,9 @@ struct hb_job_s int cfr; int pass; char *advanced_opts; + char *x264_profile; + char *x264_preset; + char *x264_tune; int areBframes; int color_matrix_code; int color_prim; @@ -871,4 +874,9 @@ int hb_rgb2yuv(int rgb); const char * hb_subsource_name( int source ); +// x264 preset/tune/profile helpers +const char * const * hb_x264_presets(); +const char * const * hb_x264_tunes(); +const char * const * hb_x264_profiles(); + #endif |