v4l2allocator: Fix userptr importation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 13 Jul 2018 18:41:13 +0000 (14:41 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 14 Jul 2018 02:58:35 +0000 (22:58 -0400)
commit0649b0ab0f4693088e68ad52dec7847ff4864c70
treefffbd0226c37d45114b80939b3961dfd2c3657b4
parent38b68cbbd7a90fc3b77db301cda99e96aecc808d
v4l2allocator: Fix userptr importation

The length passed to the driver was always 0 instead of the size of
the memory. This would fail validation in videobuf2.
sys/v4l2/gstv4l2allocator.c