Commit 06e7320c authored by Paul Wilkins's avatar Paul Wilkins Committed by Code Review
Browse files

Merge "First pass loop bug."

parents 2f0331c9 e8675168
...@@ -1487,7 +1487,7 @@ static void define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) ...@@ -1487,7 +1487,7 @@ static void define_gf_group(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame)
// Break out conditions. // Break out conditions.
if ( /* i>4 || */ if ( /* i>4 || */
// Break at cpi->max_gf_interval unless almost totally static // 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 // Dont break out with a very short interval
(i > MIN_GF_INTERVAL) && (i > MIN_GF_INTERVAL) &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment