From c5667a9e468268d52218eee581eff520f9fd7f41 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 13 Jul 2014 03:03:31 -0700 Subject: [PATCH] Log x264 settings --- plugins/obs-x264/obs-x264.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/obs-x264/obs-x264.c b/plugins/obs-x264/obs-x264.c index 4e021cf1c..b935cc033 100644 --- a/plugins/obs-x264/obs-x264.c +++ b/plugins/obs-x264/obs-x264.c @@ -254,6 +254,17 @@ static void update_params(struct obs_x264 *obsx264, obs_data_t settings, obsx264->params.p_log_private = obsx264; obsx264->params.i_log_level = X264_LOG_WARNING; + info("settings:\n" + "\tbitrate: %d\n" + "\tbuffer size: %d\n" + "\tfps_num: %d\n" + "\tfps_den: %d\n" + "\tkeyint: %d\n" + "\tcbr: %s", + bitrate, buffer_size, voi->fps_num, voi->fps_den, + obsx264->params.i_keyint_max, + cbr ? "on" : "off"); + /* use the new filler method for CBR to allow real-time adjusting of * the bitrate */ if (cbr) {