This isn't a valid H.265 profile and will cause encoder initialization to fail.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6913
b64f7644-9d1e-0410-96f1-
a4d463321fa5
}
/* Apply profile and level settings last. */
- if (x265_param_apply_profile(param, job->encoder_profile) < 0)
+ if (job->encoder_profile != NULL &&
+ strcasecmp(job->encoder_profile, hb_h265_profile_names[0]) != 0 &&
+ x265_param_apply_profile(param, job->encoder_profile) < 0)
{
goto fail;
}