mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Merge pull request #759 from derrod/ignore-opencl
obs-x264: ignore opencl param
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user