obs-x264: Log preset/profile/tune and custom opts

master
jp9000 2014-08-25 07:44:34 -07:00
parent 3dfaf57102
commit a3266df836
1 changed files with 7 additions and 0 deletions

View File

@ -365,11 +365,18 @@ static bool update_settings(struct obs_x264 *obsx264, obs_data_t settings)
if (!obsx264->context) {
override_base_params(obsx264, paramlist,
&preset, &profile, &tune);
if (preset && *preset) info("preset: %s", preset);
if (profile && *profile) info("profile: %s", profile);
if (tune && *tune) info("tune: %s", tune);
success = reset_x264_params(obsx264, preset, tune);
}
if (success) {
update_params(obsx264, settings, paramlist);
if (opts && *opts)
info("custom settings: %s", opts);
if (!obsx264->context)
apply_x264_profile(obsx264, profile);