mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30: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.
(cherry picked from commit 3a0ffe21e6)
This commit is contained in:
parent
8f35e18d18
commit
8094cdf846
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