shithub: libvpx

Download patch

ref: 83f17eeede83f138f34177121019798719d5be1c
parent: 8a906039a7a94d9e54fa7afb7438f3bfe6ad9c5d
author: Marco <[email protected]>
date: Wed Apr 20 12:30:13 EDT 2016

vp9: 1 pass vbr: Small fix on reset avg_intersize_gfint on scene cut.

Change-Id: Ie73d1bbc2c953d010b32097440698f0d060750be

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2126,6 +2126,7 @@
       target = calc_pframe_target_size_one_pass_vbr(cpi);
       vp9_rc_set_frame_target(cpi, target);
       rc->count_last_scene_change = 0;
+      rc->avg_intersize_gfint = 0;
     } else {
       rc->count_last_scene_change++;
     }