diff options
author | jbrjake <[email protected]> | 2008-04-26 21:04:27 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-04-26 21:04:27 +0000 |
commit | 82085af4ca15f94743d2185e9ce514b8fb934a7b (patch) | |
tree | 6a1ecf3a6b8cec7e7eaa980a433472dd534b5617 /test | |
parent | ccb94aa9e6baac0c0896dd55a23987fbf53180b4 (diff) |
Opens up another way to give x264 a constant QP or RF, by passing a direct value instead of a percentage that encx264.c has to convert.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1447 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index bfcd87539..f2996b449 100644 --- a/test/test.c +++ b/test/test.c @@ -854,7 +854,7 @@ static int HandleEvents( hb_handle_t * h ) hb_fix_aspect( job, HB_KEEP_WIDTH ); } - if( vquality >= 0.0 && vquality <= 1.0 ) + if( vquality >= 0.0 && ( ( vquality <= 1.0 ) || ( vcodec == HB_VCODEC_X264 ) ) ) { job->vquality = vquality; job->vbitrate = 0; |