summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r--libhb/encx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index 84b13f421..30cee1096 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -484,7 +484,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
param.vui.i_sar_width = job->par.num;
param.vui.i_sar_height = job->par.den;
- if( job->vquality >= 0 )
+ if (job->vquality > HB_INVALID_VIDEO_QUALITY)
{
/* Constant RF */
param.rc.i_rc_method = X264_RC_CRF;