ivfenc: correct fixed kf interval, --disable-kf
authorJohn Koleszar <jkoleszar@google.com>
Thu, 24 Jun 2010 12:41:51 +0000 (08:41 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 24 Jun 2010 12:41:56 +0000 (08:41 -0400)
commitb1e36f2872b8f645b806a151e3e88540adcde614
treee3f526ed2b9dbbcd5cb22721858f89c0fea62ab6
parent3d5cd513fa47cd100bbc6018be072f247fe717fc
ivfenc: correct fixed kf interval, --disable-kf

ivfenc was setting the VPX_KF_FIXED mode when the kf_min_dist and
kf_max_dist parameters were set to each other. This flag actually means
that keyframes are disabled, and that name was deprecated to avoid
confusion such as this. Instead, a new option is exposed for setting the
VPX_KF_DISABLED mode, and the intervals are passed through to the codec,
which will do automatic placement at a fixed interval as expected.

Change-Id: I15abbec5936f39d5901878b4bc154372fbc23a43
ivfenc.c