History

Fix counter of fixed keyframe distance

When the keyframe distance is fixed the first interval has the right distance but, the next ones have kf_distance + 1.

Andoni Morales Alastruey committed 15 years ago

Commit 48140161 parent eaadfb51 file · +1 −1Browse files

Showing the changes to vp8 (1 of 1 file). Show all

Unified · Split

vp8/vp8_cx_iface.c+1−1
@@ -706,7 +706,7 @@ static vpx_codec_err_t vp8e_encode(vpx_codec_alg_priv_t *ctx, · 705 unmodified lines
706 if (++ctx->fixed_kf_cntr > ctx->cfg.kf_min_dist)706 if (++ctx->fixed_kf_cntr > ctx->cfg.kf_min_dist)
707 {707 {
708 flags |= VPX_EFLAG_FORCE_KF;708 flags |= VPX_EFLAG_FORCE_KF;
709 ctx->fixed_kf_cntr = 0;709 ctx->fixed_kf_cntr = 1;
710 }710 }
711 }711 }
712 712

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t