summaryrefslogtreecommitdiffstats
path: root/libhb/work.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/work.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/work.c')
-rw-r--r--libhb/work.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libhb/work.c b/libhb/work.c
index e8c2a4e1e..c5785bdb9 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -283,11 +283,7 @@ void hb_display_job_info( hb_job_t * job )
break;
}
- if( job->vquality >= 0.0 && job->vquality <= 1.0 )
- {
- hb_log( " + quality: %.2f", job->vquality );
- }
- else if( job->vquality > 1 )
+ if( job->vquality >= 0 )
{
hb_log( " + quality: %.2f %s", job->vquality, job->vcodec == HB_VCODEC_X264 ? "(RF)" : "(QP)" );
}