summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-10-19 12:16:13 +0000
committerRodeo <[email protected]>2013-10-19 12:16:13 +0000
commitd8345dbae807a1f09fa49001500df0158d151780 (patch)
treeadd4993c8f42a975cf1f0aace44d93d13dac46df
parent8cf5535fde72edb7974f97d0daf9f401122abaa1 (diff)
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
-rw-r--r--libhb/encx264.c6
1 files 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 );