New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
|
|
@ -288,6 +288,8 @@ static inline void override_base_params(struct obs_x264 *obsx264, char **params,
|
|||
preset, profile, tune);
|
||||
}
|
||||
|
||||
#define OPENCL_ALIAS "opencl_is_experimental_and_potentially_unstable"
|
||||
|
||||
static inline void set_param(struct obs_x264 *obsx264, const char *param)
|
||||
{
|
||||
char *name;
|
||||
|
|
@ -300,7 +302,10 @@ 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 (strcmp(name, OPENCL_ALIAS) == 0)
|
||||
strcpy(name, "opencl");
|
||||
if (x264_param_parse(&obsx264->params, name, val) != 0)
|
||||
warn("x264 param: %s failed", param);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue