mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 13:38:29 +00:00
camera: move PipeWire camera first in list
If it fails, we fall back to the next one, which is v4l2.
This commit is contained in:

committed by
Sam Lantinga

parent
5d779153b2
commit
55d4b44441
@@ -31,12 +31,12 @@
|
||||
|
||||
// Available camera drivers
|
||||
static const CameraBootStrap *const bootstrap[] = {
|
||||
#ifdef SDL_CAMERA_DRIVER_V4L2
|
||||
&V4L2_bootstrap,
|
||||
#endif
|
||||
#ifdef SDL_CAMERA_DRIVER_PIPEWIRE
|
||||
&PIPEWIRECAMERA_bootstrap,
|
||||
#endif
|
||||
#ifdef SDL_CAMERA_DRIVER_V4L2
|
||||
&V4L2_bootstrap,
|
||||
#endif
|
||||
#ifdef SDL_CAMERA_DRIVER_COREMEDIA
|
||||
&COREMEDIA_bootstrap,
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user