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
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));
}