shithub: libvpx

Download patch

ref: 5c756005aaa17759485552edaea3e9ff99760bac
parent: 52490354f3c1e639e60254d785914236c4f01bc5
parent: abc9958c52dd4ecbb5f7eef3352672aee815db1f
author: John Koleszar <jkoleszar@google.com>
date: Fri May 6 04:59:05 EDT 2011

Merge "Don't override active_worst_quality in 2 pass"

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -416,7 +416,8 @@
 
     // TODO: if we separate rate targeting from Q targetting, move this.
     // Reset the active worst quality to the baseline value for key frames.
-    cpi->active_worst_quality = cpi->worst_quality;
+    if (cpi->pass != 2)
+        cpi->active_worst_quality = cpi->worst_quality;
 
 #if 0
     {
--