summaryrefslogtreecommitdiffstats
path: root/libhb/enctheora.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/enctheora.c')
-rw-r--r--libhb/enctheora.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libhb/enctheora.c b/libhb/enctheora.c
index 2ced60693..20d532362 100644
--- a/libhb/enctheora.c
+++ b/libhb/enctheora.c
@@ -96,15 +96,7 @@ int enctheoraInit( hb_work_object_t * w, hb_job_t * job )
else
{
ti.target_bitrate = 0;
-
- if( job->vquality > 0 && job->vquality < 1 )
- {
- ti.quality = 63 * job->vquality;
- }
- else
- {
- ti.quality = job->vquality;
- }
+ ti.quality = job->vquality;
}
keyframe_frequency = 10 * (int)( (double)job->vrate / (double)job->vrate_base + 0.5 );