Browse Source

Merge pull request #759 from derrod/ignore-opencl

obs-x264: ignore opencl param
Jim 8 years ago
parent
commit
956349fdd3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/obs-x264/obs-x264.c

+ 2 - 1
plugins/obs-x264/obs-x264.c

@@ -300,7 +300,8 @@ static inline void set_param(struct obs_x264 *obsx264, const char *param)
 		    strcmp(name, "fps")       != 0 &&
 		    strcmp(name, "force-cfr") != 0 &&
 		    strcmp(name, "width")     != 0 &&
-		    strcmp(name, "height")    != 0) {
+		    strcmp(name, "height")    != 0 &&
+		    strcmp(name, "opencl")    != 0) {
 			if (x264_param_parse(&obsx264->params, name, val) != 0)
 				warn("x264 param: %s failed", param);
 		}