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:
Sven Püschel 2024-07-17 14:19:12 +02:00 committed by Wim Taymans
parent 5932963506
commit 0c07c78621

View file

@ -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;