summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2011-01-19 15:50:22 +0000
committerPaul Wilkins <paulwilkins@google.com>2011-01-19 15:50:22 +0000
commite867516843c18a0493039eccc940bd9ab706b13f (patch)
tree6898d63faf0e132cc76775d4bb93f8a822d948c2 /vp8
parentf97f2b1bb6c08661b88324ef15354505dad4a041 (diff)
downloadlibvpx-e867516843c18a0493039eccc940bd9ab706b13f.tar
libvpx-e867516843c18a0493039eccc940bd9ab706b13f.tar.gz
libvpx-e867516843c18a0493039eccc940bd9ab706b13f.tar.bz2
libvpx-e867516843c18a0493039eccc940bd9ab706b13f.zip
First pass loop bug.
Incorrect value loop_decay_rate used in GF loop. The intent was to test the cumulative value decay_accumulator. Change-Id: I62928c63eb09f4f6936a45ebd1c23784d1c9681b
Diffstat (limited to 'vp8')
-rw-r--r--vp8/encoder/firstpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index 32a39c5f2..e5a22d957 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -1487,7 +1487,7 @@ static void define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame)
// Break out conditions.
if ( /* i>4 || */
// Break at cpi->max_gf_interval unless almost totally static
- (i >= cpi->max_gf_interval && (loop_decay_rate < 0.99)) ||
+ (i >= cpi->max_gf_interval && (decay_accumulator < 0.99)) ||
(
// Dont break out with a very short interval
(i > MIN_GF_INTERVAL) &&