vp8enc: Limit max-latency to 25 to match libvpx
authorPhilip Jägenstedt <philipj@opera.com>
Thu, 20 May 2010 07:24:53 +0000 (09:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 20 May 2010 08:37:24 +0000 (10:37 +0200)
commit2f4ea3b73449050996e19bf65cedd4005b27ab1f
tree1ba08baf6e09ef0d1312d5154f3098d046498711
parentfd77b419a4cffab6f96c6228870693789ed30c12
vp8enc: Limit max-latency to 25 to match libvpx

From libvpx/vp8/encoder/onyx_int.h:
 #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY? 1 : 25)

While we don't need to be tied to what libvpx does internally, it
doesn't make sense to pretend to support longer frame lags than are
actually possible.
ext/vp8/gstvp8enc.c