v4l2bufferpool: support orphaning
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 24 Jan 2019 15:12:13 +0000 (16:12 +0100)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Fri, 5 Apr 2019 16:01:55 +0000 (16:01 +0000)
commitdfc20013ccc6735f4116fa7da09bbf72fc657f38
treec8dd3a148a33d9e3cfd23cbc2c338033d85e5dfc
parent0948ce0478040b2cad84c7f135281a1519112221
v4l2bufferpool: support orphaning

Now that the v4l2allocator allows orphaning the V4L2 buffer queue, add
support for orphaning in the v4l2bufferpool. gst_v4l2_buffer_pool_orphan
can be used as a replacement for gst_v4l2_buffer_pool_stop, without
having to wait for buffers to be returned to the pool.
sys/v4l2/gstv4l2bufferpool.c
sys/v4l2/gstv4l2bufferpool.h