Don't override active_worst_quality in 2 pass
authorJohn Koleszar <jkoleszar@google.com>
Fri, 6 May 2011 15:48:50 +0000 (11:48 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 6 May 2011 15:48:53 +0000 (11:48 -0400)
commitabc9958c52dd4ecbb5f7eef3352672aee815db1f
treeb4efc9bc252b562984bc38062b63c895f4f1cfcc
parentdb5057c742d57daad5d6e18fb0ab2bd4775f325f
Don't override active_worst_quality in 2 pass

Commit db5057c introduced a bug in that the active_worst_quality
selected by the 2 pass rate controller was being overridden for key
frames, causing a severe quality loss.

Change-Id: I4865a6fbe3e94e9b4fb9271c7dd68b455d7b371d
vp8/encoder/ratectrl.c