mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-07 04:06:12 -05:00
libcamera: Default to auto-focus & auto-exposure
libcamera says that cameras should default to manual focus mode. This means that unless pipewire clients specifically change this control, users with an autofocus-capable camera are left with an out-of-focus image. This patch sets the autofocus mode to continuous and enables auto-exposure (as the default for this is unspecified). Testing with an imx708 on Raspberry Pi OS on a Raspberry Pi 4, before this patch the image was generally out of focus in Firefox/webrtc, after this patch autofocus works correctly.
This commit is contained in:
parent
82229b3d87
commit
3a0ffe21e6
2 changed files with 29 additions and 1 deletions
|
|
@ -163,6 +163,7 @@ struct impl {
|
|||
struct spa_source source = {};
|
||||
|
||||
ControlList ctrls;
|
||||
ControlList initial_controls;
|
||||
bool active = false;
|
||||
bool acquired = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue