瀏覽代碼

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.
jp9000 11 年之前
父節點
當前提交
8355e8c848
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/obs-x264/obs-x264.c

+ 2 - 2
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);