v4l2: Keep ref to element in allocator/pool
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 24 Jul 2017 20:13:56 +0000 (16:13 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 24 Jul 2017 20:27:36 +0000 (16:27 -0400)
commit2ee90e2b39953bfabaae9631376049a688843465
tree0957f1c610209091a1cfc05a64ba50e0a91a79d4
parent33f508d508c5fa9631a93de8b18a300eab34bfd0
v4l2: Keep ref to element in allocator/pool

Removes the FIXME/Question in the buffer pool and add a ref to the
element in the GstAllocator too. This ref is strictly required to keep
the GstV4l2Object structure around.
sys/v4l2/gstv4l2allocator.c
sys/v4l2/gstv4l2bufferpool.c