diff options
author | Rodeo <[email protected]> | 2013-10-19 12:14:31 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-10-19 12:14:31 +0000 |
commit | 8cf5535fde72edb7974f97d0daf9f401122abaa1 (patch) | |
tree | 72432789b587bed8a56f5d36e81a6271d6950131 /libhb/encx264.c | |
parent | edc929027efbdade94a7e1c895308df8d058086b (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.c | 10 |
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( ¶m ); if ( pv->x264 == NULL ) |