v4l2: Enable copy when no known allocation params
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Fri, 20 Feb 2015 04:12:31 +0000 (23:12 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Fri, 20 Feb 2015 04:16:00 +0000 (23:16 -0500)
commit6afd1c5d57007d81dfcda4e0fd1ecfe972f1b4b5
tree2eb3046ed16457bb868c2e96bca7a75527eb1df0
parentdfb0ec6d4dd5ebdc6d87c486aea42188d8af6252
v4l2: Enable copy when no known allocation params

When there is no allocation parameters in the query, enable copy
threshold. When this threshold is reached, the buffer pool will start
copying when the pool reaches a critical level. If the driver supports
CREATE_BUFS, this will be used instead.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h
sys/v4l2/gstv4l2object.c