mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
libcamera: close camera in error path
This commit is contained in:
parent
df858cae7c
commit
cad7db9f58
1 changed files with 1 additions and 1 deletions
|
|
@ -417,7 +417,7 @@ static int spa_libcamera_set_format(struct impl *impl, struct port *port,
|
|||
port->streamConfig = impl->config->at(0);
|
||||
|
||||
if ((res = allocBuffers(impl, port, port->streamConfig.bufferCount)) < 0)
|
||||
return res;
|
||||
goto error;
|
||||
|
||||
port->have_format = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue