From 8355e8c84889b6f2f9c79aac323afdd0aa6048c0 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Wed, 9 Jul 2014 13:57:52 -0700 Subject: [PATCH] Separate x264 parameters by space Some x264 parameters actually use the ':' character for their parameters, so I feel like space would probably be a bit more ideal. --- plugins/obs-x264/obs-x264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/obs-x264/obs-x264.c b/plugins/obs-x264/obs-x264.c index 5f043c1c3..25fca7644 100644 --- a/plugins/obs-x264/obs-x264.c +++ b/plugins/obs-x264/obs-x264.c @@ -122,7 +122,7 @@ static obs_properties_t obs_x264_props(void) add_strings(list, x264_tune_names); obs_properties_add_text(props, "x264opts", - "x264 encoder options (separated by ':')", + "x264 encoder options (separated by space)", OBS_TEXT_DEFAULT); return props; @@ -277,7 +277,7 @@ static bool update_settings(struct obs_x264 *obsx264, obs_data_t settings) char **paramlist; bool success = true; - paramlist = strlist_split(opts, ':', false); + paramlist = strlist_split(opts, ' ', false); if (!obsx264->context) { override_base_params(paramlist, &preset, &tune, &profile);