From be4abed142e5d2b9fe2b8801d129de90450fbc2e Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 24 Mar 2012 19:26:12 +0000 Subject: 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 --- libhb/common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libhb/common.h') 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 -- cgit v1.2.3