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/work.c | |
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/work.c')
-rw-r--r-- | libhb/work.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c index c9e5ee205..d8cb7b919 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -288,12 +288,27 @@ void hb_display_job_info( hb_job_t * job ) } } + if( job->x264_preset && *job->x264_preset && + job->vcodec == HB_VCODEC_X264 ) + { + hb_log( " + x264 preset: %s", job->x264_preset); + } + if( job->x264_tune && *job->x264_tune && + job->vcodec == HB_VCODEC_X264 ) + { + hb_log( " + x264 tune: %s", job->x264_tune); + } if( job->advanced_opts && *job->advanced_opts && ( ( job->vcodec & HB_VCODEC_FFMPEG_MASK ) || ( job->vcodec == HB_VCODEC_X264 ) ) ) { hb_log( " + options: %s", job->advanced_opts); } + if( job->x264_profile && *job->x264_profile && + job->vcodec == HB_VCODEC_X264 ) + { + hb_log( " + x264 profile: %s", job->x264_profile); + } if( job->vquality >= 0 ) { |