mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-24 03:35:36 +00:00
pipewire-v4l2: Implement more ioctls
Collect all video/source nodes and enumerate their formats. We use this to return the supported formats and to check if a format is supported. Use evenfd as the even we return from open. Make the eventfd readable when we have a new buffer ready. Connect a stream when setting a format. Collect buffers. Implement mmap/munmap on the buffer memory. Implement queue and dequeue of buffers. This is enough to make the webcam test work in firefox.
This commit is contained in:
parent
e68fd36f90
commit
b466fe67dd