diff options
-rw-r--r-- | libhb/encx265.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c index 4e1e3e2c4..d9b4be64e 100644 --- a/libhb/encx265.c +++ b/libhb/encx265.c @@ -269,7 +269,9 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job) } /* 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; } |