From 8cf5535fde72edb7974f97d0daf9f401122abaa1 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 19 Oct 2013 12:14:31 +0000 Subject: 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 --- libhb/encx264.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libhb/encx264.c') 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( ¶m ); if ( pv->x264 == NULL ) -- cgit v1.2.3