ref: 18072d29f9a083501f9e284912e2211b84a6636e
parent: 0d8e4f91a25b3feb12fae22b05c80c62d6927cac
parent: 658daf36fa25ff89a4041d398b7a572898b23ead
author: Paul Wilkins <[email protected]>
date: Wed Apr 16 08:07:42 EDT 2014
Merge "Fix rate control bug."
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -308,6 +308,10 @@
int projected_size_based_on_q = 0;
+ // Do not update the rate factors for arf overlay frames.
+ if (cpi->rc.is_src_frame_alt_ref)
+ return;
+
// Clear down mmx registers to allow floating point in what follows
vp9_clear_system_state();