summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-10-19 12:14:31 +0000
committerRodeo <[email protected]>2013-10-19 12:14:31 +0000
commit8cf5535fde72edb7974f97d0daf9f401122abaa1 (patch)
tree72432789b587bed8a56f5d36e81a6271d6950131 /libhb/encx264.c
parentedc929027efbdade94a7e1c895308df8d058086b (diff)
encx264: log the unparsed advanced options string for informational purposes.
Patch by BradleyS. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5839 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index 6f91c8b2b..42457ae20 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -323,6 +323,16 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
job->areBframes = 1;
}
+ /* Log the unparsed x264 options string. */
+ char *x264_opts_unparsed = hb_x264_param_unparse( job->x264_preset,
+ job->x264_tune,
+ job->advanced_opts,
+ job->h264_profile,
+ job->h264_level,
+ job->width, job->height );
+ hb_log( "encx264: unparsed options: %s", x264_opts_unparsed );
+ free( x264_opts_unparsed );
+
hb_deep_log( 2, "encx264: opening libx264 (pass %d)", job->pass );
pv->x264 = x264_encoder_open( &param );
if ( pv->x264 == NULL )