summaryrefslogtreecommitdiffstats
path: root/libhb/encx265.c
diff options
context:
space:
mode:
authorjstebbins <jstebbins.hb@gmail.com>2015-05-28 20:29:01 +0000
committerjstebbins <jstebbins.hb@gmail.com>2015-05-28 20:29:01 +0000
commit04dbdddcb1a1d2a8231cee75ac51feae9727833d (patch)
tree94e6e9002566807730265ff969e62ee68cda0a83 /libhb/encx265.c
parentf0109cb4cecd63949e65f7cafda9f47d81916759 (diff)
libhb: fix issues with video options
Fixes: https://forum.handbrake.fr/viewtopic.php?f=10&t=32535&sid=321e6d1092fd09c8d380e13e86d1a9ee - Sanitize empty video encoder settings strings to NULL. - In the CLI, use encoder defaults if user changes the preset's video encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7237 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r--libhb/encx265.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c
index ba55ab703..e3160c589 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -105,6 +105,7 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
if (x265_param_default_preset(param,
job->encoder_preset, job->encoder_tune) < 0)
{
+ hb_error("encx265: x265_param_default_preset failed. Preset (%s) Tune (%s)", job->encoder_preset, job->encoder_tune);
goto fail;
}