mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: libcamera: uncomment setting integer controls
When using Open Broadcaster Software with Pipewire and a libcamera
camera node, changing the ExposureTime doesn't work.
The commit introducing the camera control setting has commented out the
integer case: ef4b9745b2 ("libcamera: handle canceled requests")
But as it doesn't give a reson for the comment, it looks like an
oversight.
Therefore removing the comment to allow setting the ExposureTime integer.
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
This commit is contained in:
parent
5932963506
commit
0c07c78621
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ static int do_update_ctrls(struct spa_loop *loop,
|
|||
impl->ctrls.set(d->id, d->f_val);
|
||||
break;
|
||||
case ControlTypeInteger32:
|
||||
//impl->ctrls.set(d->id, (int32_t)d->i_val);
|
||||
impl->ctrls.set(d->id, (int32_t)d->i_val);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue