diff options
author | jstebbins <[email protected]> | 2014-08-26 22:13:17 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-08-26 22:13:17 +0000 |
commit | d3911e0217f0c7aa8c775e14d718dd22a50563fe (patch) | |
tree | cde9cf478564238cc080e7599522fd4c16ef29bb /libhb/work.c | |
parent | 8a162f6cba7e30e1f1150922cc99456069a867ac (diff) |
x265: enable 2-pass ABR encoding
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6366 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libhb/work.c b/libhb/work.c index 88f4be248..7e117df30 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -366,13 +366,16 @@ void hb_display_job_info(hb_job_t *job) else { hb_log( " + bitrate: %d kbps, pass: %d", job->vbitrate, job->pass ); - if( job->pass == 1 && job->fastfirstpass == 1 && - job->vcodec == HB_VCODEC_X264 ) + if(job->pass == 1 && job->fastfirstpass == 1 && + (job->vcodec == HB_VCODEC_X264 || job->vcodec == HB_VCODEC_X265)) { hb_log( " + fast first pass" ); - hb_log( " + options: ref=1:8x8dct=0:me=dia:trellis=0" ); - hb_log( " analyse=i4x4 (if originally enabled, else analyse=none)" ); - hb_log( " subq=2 (if originally greater than 2, else subq unchanged)" ); + if (job->vcodec == HB_VCODEC_X264) + { + hb_log( " + options: ref=1:8x8dct=0:me=dia:trellis=0" ); + hb_log( " analyse=i4x4 (if originally enabled, else analyse=none)" ); + hb_log( " subq=2 (if originally greater than 2, else subq unchanged)" ); + } } } |