Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camera: add PipeWire camera support #9723

Merged
merged 9 commits into from May 9, 2024
Merged

Conversation

wtay
Copy link
Contributor

@wtay wtay commented May 8, 2024

The PipeWire camera will enumerate the pipewire Video/Source nodes with their formats.

When capturing is started, a stream to the node will be created and frames will be captured.

Description

Existing Issue(s)

cmake/sdlchecks.cmake Outdated Show resolved Hide resolved
The PipeWire camera will enumerate the pipewire Video/Source nodes with
their formats.

When capturing is started, a stream to the node will be created and
frames will be captured.
wtay added 2 commits May 8, 2024 18:13
If it fails, we fall back to the next one, which is v4l2.
Move the common formats outside of the ifdef
wtay added 2 commits May 9, 2024 09:33
Remove the custom server version check. We can easily do this as part of
starting the hotplug loop. Check that we are at least running against a
1.0.0 server.

Log the compiled, linked, server and required versions.

Check that we are compiled and linked with the right version before using
the time symbol of a struct.
@slouken slouken merged commit f3d79ad into libsdl-org:main May 9, 2024
38 checks passed
@slouken
Copy link
Collaborator

slouken commented May 9, 2024

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants