summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/encx265.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encx265.c b/libhb/encx265.c
index 8928a43e2..f330bb652 100644
--- a/libhb/encx265.c
+++ b/libhb/encx265.c
@@ -249,7 +249,7 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
goto fail;
}
- if (job->vquality > 0)
+ if (job->vquality >= 0.)
{
param->rc.rateControlMode = X265_RC_CRF;
param->rc.rfConstant = job->vquality;