v4l2bufferpoool: Fix requeueue after seek when importing
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 26 Jun 2020 20:43:37 +0000 (16:43 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 28 Jun 2020 13:40:30 +0000 (13:40 +0000)
commit71204f2c3b113a47eba63a600ef36f9e29ced38e
tree65d0bd5bd5667e4d1f0010cc6b763f0bbf933c1e
parent1beb497aa725e9fbc0ea6cae20270f4a5dad650f
v4l2bufferpoool: Fix requeueue after seek when importing

When the buffer pool is importing buffer, it will requeue num_allocated on
streamon. As this value was not set for DMABuf import and USERPTR, no buffer
was queued  back.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/651>
sys/v4l2/gstv4l2bufferpool.c