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:
Wim Taymans
2024-05-08 18:13:58 +02:00
committed by Sam Lantinga
parent 5d779153b2
commit 55d4b44441
3 changed files with 5 additions and 5 deletions

View File

@@ -1129,7 +1129,7 @@ static SDL_bool PIPEWIRECAMERA_Init(SDL_CameraDriverImpl *impl)
}
CameraBootStrap PIPEWIRECAMERA_bootstrap = {
"pipewire", "SDL PipeWire camera driver", PIPEWIRECAMERA_Init, SDL_TRUE
"pipewire", "SDL PipeWire camera driver", PIPEWIRECAMERA_Init, SDL_FALSE
};
#endif // SDL_CAMERA_DRIVER_PIPEWIRE