Commit 1f3c43e6 authored by Adrian Grange's avatar Adrian Grange Committed by Gerrit Code Review

Merge "Fix get_frame_type function"

parents 75441e1e caad1686
......@@ -2362,9 +2362,9 @@ static MV_REFERENCE_FRAME get_frame_type(const VP9_COMP *cpi) {
else if (cpi->rc.is_src_frame_alt_ref && cpi->refresh_golden_frame)
return ALTREF_FRAME;
else if (cpi->refresh_golden_frame || cpi->refresh_alt_ref_frame)
return LAST_FRAME;
else
return GOLDEN_FRAME;
else
return LAST_FRAME;
}
static TX_MODE select_tx_mode(const VP9_COMP *cpi) {
......
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