v4l2bufferpool: Update pool limit with hardware requiremenst
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 15 May 2014 15:39:39 +0000 (17:39 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 May 2014 16:55:33 +0000 (12:55 -0400)
commit0d852cf2353632b3d8d8d855fd84fe8eef7c1a62
tree496a2ffa96be1b389c8b17877d8a00981f39f8c9
parent541a9670d23c89f69f5c272c5c2fa37edf6d8f1c
v4l2bufferpool: Update pool limit with hardware requiremenst

If the driver need more buffers than requested by the config,
update the pool min/max values. The minimum value for the pool
could be provided either by the driver or by the pool. This is
best effort for drivers that don't support
CID V4L2_CID_MIN_BUFFERS_FOR_CAPTURE.

https://bugzilla.gnome.org/show_bug.cgi?id=730200
sys/v4l2/gstv4l2bufferpool.c