Merge "Fix counter of fixed keyframe distance"

This commit is contained in:
John Koleszar 2011-03-04 05:28:38 -08:00 committed by Code Review
commit eed2ce58e3

View File

@ -716,7 +716,7 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx,
if (++ctx->fixed_kf_cntr > ctx->cfg.kf_min_dist)
{
flags |= VPX_EFLAG_FORCE_KF;
ctx->fixed_kf_cntr = 0;
ctx->fixed_kf_cntr = 1;
}
}