summaryrefslogtreecommitdiffstats
path: root/libhb/enctheora.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-21 02:20:48 +0000
committerjstebbins <[email protected]>2011-03-21 02:20:48 +0000
commit01372381e86f1f89ab40cdf8c2a08b9a71bbca23 (patch)
tree47baa6104b656865606323a82f514ef8b39ba79d /libhb/enctheora.c
parentfdef4b5164b56403a2a6710ffb5a605d0e434924 (diff)
Remove legacy % to RF mapping.
Although the % option has been gone for a while in the cli and gui's, there were some mappings happening in libhb and for preset imports. This removes the last vestages of % quality mapping. Thanks to Rodeo for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3857 b64f7644-9d1e-0410-96f1-a4d463321fa5
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 );