summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-03-24 19:26:12 +0000
committerRodeo <[email protected]>2012-03-24 19:26:12 +0000
commitbe4abed142e5d2b9fe2b8801d129de90450fbc2e (patch)
tree6b3522c679a3de4350d56e01466017e258c9219e /libhb/common.h
parentc6401fab7c5f1daf36cdb3f99c640477c19bdc01 (diff)
Add hb_apply_h264_level(). Sets and ensures compliance with the specified H.264 level. Does not modify framerate and resolution but prints warnings when they are incompatible with the requested level.
Exposed to CLI users only via the --h264-level option. GUI support may come later, once we decide how to handle x264 presets/tunes/profiles. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4534 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 40af25df6..6f8e3b6c5 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -294,6 +294,7 @@ struct hb_job_s
char *x264_profile;
char *x264_preset;
char *x264_tune;
+ char *h264_level;
int areBframes;
int color_matrix_code;
int color_prim;
@@ -916,9 +917,10 @@ int hb_rgb2yuv(int rgb);
const char * hb_subsource_name( int source );
-// x264 preset/tune/profile helpers
+// x264 preset/tune/profile & h264 level helpers
const char * const * hb_x264_presets();
const char * const * hb_x264_tunes();
const char * const * hb_x264_profiles();
+const char * const * hb_h264_levels();
#endif