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

Add PipeWire camera driver #17507

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,8 @@ endif

ifeq ($(HAVE_PIPEWIRE), 1)
OBJ += audio/drivers/pipewire.o \
audio/common/pipewire.o
audio/common/pipewire.o \
camera/drivers/pipewire.o

ifeq ($(HAVE_MICROPHONE), 1)
OBJ += audio/drivers_microphone/pipewire.o
Expand Down
3 changes: 3 additions & 0 deletions camera/camera_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const camera_driver_t *camera_drivers[] = {
#ifdef HAVE_V4L2
&camera_v4l2,
#endif
#ifdef HAVE_PIPEWIRE
&camera_pipewire,
#endif
#ifdef EMSCRIPTEN
&camera_rwebcam,
#endif
Expand Down
1 change: 1 addition & 0 deletions camera/camera_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ extern const camera_driver_t *camera_drivers[];


extern camera_driver_t camera_v4l2;
extern camera_driver_t camera_pipewire;
extern camera_driver_t camera_android;
extern camera_driver_t camera_rwebcam;
extern camera_driver_t camera_avfoundation;
Expand Down
Loading
Loading