]> granicus.if.org Git - handbrake/commitdiff
encx264: raise qpmin to 4. 3 has been found to fail on real sources.
authorRodeo <tdskywalker@gmail.com>
Sun, 9 Dec 2012 17:07:56 +0000 (17:07 +0000)
committerRodeo <tdskywalker@gmail.com>
Sun, 9 Dec 2012 17:07:56 +0000 (17:07 +0000)
Fixes https://forum.handbrake.fr/viewtopic.php?f=5&t=25735

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5094 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encx264.c

index c82897df3f878f7a0d8b38a9f5af12c5bf5566ee..abdc235c3aa8b483c070508bfa53959b90047eb9 100644 (file)
@@ -97,10 +97,12 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
     param.analyse.b_psnr = 1;
     param.analyse.b_ssim = 1;
 
-    /* QuickTime has trouble with very low QPs (resulting in visual artifacts).
+    /*
+     * QuickTime has trouble with very low QPs (resulting in visual artifacts).
      * Known to affect QuickTime 7, QuickTime X and iTunes.
-     * Testing shows that a qpmin of 3 works. */
-    param.rc.i_qp_min = 3;
+     * Testing shows that a qpmin of 4 usually works.
+     */
+    param.rc.i_qp_min = 4;
     
     if( job->pass == 2 && job->cfr != 1 )
     {