OSDN Git Service

cli: fix constant quality setting for theora
authorjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 17 Dec 2010 16:13:52 +0000 (16:13 +0000)
committerjstebbins <jstebbins@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 17 Dec 2010 16:13:52 +0000 (16:13 +0000)
we had special cased such that only % values were being allowed for theora

git-svn-id: svn://localhost/HandBrake/trunk@3709 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index 6416c20..3300540 100644 (file)
@@ -1428,7 +1428,7 @@ static int HandleEvents( hb_handle_t * h )
                 break;
             }
 
-            if( vquality >= 0.0 && ( ( vquality <= 1.0 ) || ( vcodec == HB_VCODEC_X264 ) || (vcodec == HB_VCODEC_FFMPEG) ) )
+            if( vquality >= 0.0 )
             {
                 job->vquality = vquality;
                 job->vbitrate = 0;