v4l2object: Only offer inactive pools and if needed
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 26 Jun 2020 17:11:04 +0000 (13:11 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 28 Jun 2020 13:40:30 +0000 (13:40 +0000)
commit85b9893e963ea5d342289e318daeefba35ff4a07
tree5a48a3b2cca0e81ff182cb0cd2c90fba0db6baf1
parent099712338f7f41d43406242971bef61ee0c01484
v4l2object: Only offer inactive pools and if needed

Avoid offering a pool if it's not needed or if it's still active.
This works around the fact the we only have one pool in V4L2.

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