summaryrefslogtreecommitdiffstats
path: root/libhb/enctheora.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/enctheora.c')
-rw-r--r--libhb/enctheora.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/enctheora.c b/libhb/enctheora.c
index 763e07f84..12438058f 100644
--- a/libhb/enctheora.c
+++ b/libhb/enctheora.c
@@ -77,7 +77,7 @@ int enctheoraInit( hb_work_object_t * w, hb_job_t * job )
ti.aspect_denominator = job->par.den;
ti.colorspace = TH_CS_UNSPECIFIED;
ti.pixel_fmt = TH_PF_420;
- if (job->vquality < 0.0)
+ if (job->vquality <= HB_INVALID_VIDEO_QUALITY)
{
ti.target_bitrate = job->vbitrate * 1000;
ti.quality = 0;