From ae9996a7898a53090394033625a8906ac0b23c15 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Mon, 16 Feb 2015 21:00:30 +0000 Subject: [merged] libhb: don't pass "auto" profile to libx265. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.10.x@6914 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx265.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libhb') diff --git a/libhb/encx265.c b/libhb/encx265.c index 50699934d..a3e3fc679 100644 --- a/libhb/encx265.c +++ b/libhb/encx265.c @@ -271,7 +271,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; } -- cgit v1.2.3