Limit size of initial keyframe in one-pass.
authorJohn Koleszar <jkoleszar@google.com>
Tue, 19 Apr 2011 18:05:27 +0000 (14:05 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Mon, 25 Apr 2011 17:47:20 +0000 (13:47 -0400)
commit454cbc96b7c81109b1d7fd24df1da99ba30f5207
treed3d5bd66ff9d6fc927a8cb49037f52a1a9154b0b
parentaa926fbd273c7d62d43487f73f2f3cdce7bec5a8
Limit size of initial keyframe in one-pass.

Rather than using a default size of 1/2 or 3/2 seconds for the first
frame, use a fraction of the initial buffer level to give the
application some control.

This will likely undergo further refinement as size limits on key
frames are currently under discussion on codec-devel@, but this gives
much better behavior for small buffer sizes as a starting point.

Change-Id: Ieba55b86517b81e51e6f0a9fe27aabba295acab0
vp8/encoder/onyx_if.c