diff options
author | jstebbins <[email protected]> | 2015-05-29 22:17:14 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-05-29 22:17:14 +0000 |
commit | b75714ec3263ecd0e1b1bb410edb5616c4addfe2 (patch) | |
tree | 5564ebc96eb96d5a3092363442638f90d3f072e5 /libhb | |
parent | 04dbdddcb1a1d2a8231cee75ac51feae9727833d (diff) |
preset: fix application of VideoScaler to job
Broken strcasecmp conditional caused OpenCl to be added to the job when
it should not have been and *not* added to the job when it should.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7241 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/preset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/preset.c b/libhb/preset.c index 4066b2bec..7f43b4570 100644 --- a/libhb/preset.c +++ b/libhb/preset.c @@ -1418,7 +1418,7 @@ int hb_preset_apply_video(const hb_dict_t *preset, hb_dict_t *job_dict) if ((value = hb_dict_get(preset, "VideoScaler")) != NULL) { const char *s = hb_value_get_string(value); - if (strcasecmp(s, "opencl")) + if (!strcasecmp(s, "opencl")) { hb_dict_set(video_dict, "OpenCL", hb_value_bool(1)); } |