Remove goldfreq in VP8_COMP

goldfreq can be replaced by DEFAULT_GF_INTERVAL.

Change-Id: I3659a9e7b9a6be9cb1952a1838e02c20d656e369
This commit is contained in:
Yunqing Wang
2012-06-12 11:57:26 -04:00
parent 30fb976e3e
commit 0ca0c4f6a0
3 changed files with 3 additions and 5 deletions

View File

@@ -323,7 +323,7 @@ void vp8_setup_key_frame(VP8_COMP *cpi)
//cpi->frames_till_gf_update_due = DEFAULT_GF_INTERVAL;
cpi->frames_till_gf_update_due = cpi->baseline_gf_interval;
else
cpi->frames_till_gf_update_due = cpi->goldfreq;
cpi->frames_till_gf_update_due = DEFAULT_GF_INTERVAL;
cpi->common.refresh_golden_frame = 1;
cpi->common.refresh_alt_ref_frame = 1;