From d8345dbae807a1f09fa49001500df0158d151780 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 19 Oct 2013 12:16:13 +0000 Subject: [PATCH] encx264: remove duplicate logging (libx264 already logs the SAR), and log the average bitrate to be consistent (we log the RF in CRF mode). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5840 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx264.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libhb/encx264.c b/libhb/encx264.c index 42457ae20..d1a71b7cf 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -247,9 +247,6 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) { param.vui.i_sar_width = job->anamorphic.par_width; param.vui.i_sar_height = job->anamorphic.par_height; - - hb_log( "encx264: encoding with stored aspect %d/%d", - param.vui.i_sar_width, param.vui.i_sar_height ); } if( job->vquality >= 0 ) @@ -257,13 +254,14 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job ) /* Constant RF */ param.rc.i_rc_method = X264_RC_CRF; param.rc.f_rf_constant = job->vquality; - hb_log( "encx264: Encoding at constant RF %f", param.rc.f_rf_constant ); + hb_log( "encx264: encoding at constant RF %f", param.rc.f_rf_constant ); } else { /* Average bitrate */ param.rc.i_rc_method = X264_RC_ABR; param.rc.i_bitrate = job->vbitrate; + hb_log( "encx264: encoding at average bitrate %d", param.rc.i_bitrate ); if( job->pass > 0 && job->pass < 3 ) { memset( pv->filename, 0, 1024 ); -- 2.40.0