Reduce the default kf_max_dist to 128.
authorRalph Giles <giles@mozilla.com>
Thu, 5 Jan 2012 16:39:38 +0000 (10:39 -0600)
committerJames Zern <jzern@google.com>
Fri, 6 Jan 2012 19:34:45 +0000 (11:34 -0800)
commit2a0d7b1a55aff0870f6bda485cf7cb63662c2337
treeb794a3baa24f63cd37c05eede11bd542e8735673
parent70a5104eada4058524c3ce43754731f0c9e239a2
Reduce the default kf_max_dist to 128.

The default maximum keyframe interval is 9999, or over five minutes
at normal video rates. When the encoder produces streams with such
a long interval seeking (with correct output) is more expensive,
and live streaming is impossible.

Of course the encoding application should set this parameter
based on its knowledge of the intended use of the stream, but
reducing the default gives better results for applications
which do not.

Change-Id: I900b15d74ce72ecc3ade4d43f758c5cf97a2098a
vp8/vp8_cx_iface.c