mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
v4l2: unset format, then close
v4l2 does not want to close unless the format is cleared
This commit is contained in:
parent
0a57c86c25
commit
c613ae4b40
1 changed files with 1 additions and 1 deletions
|
|
@ -588,8 +588,8 @@ static int port_set_format(struct spa_node *node,
|
|||
if (format == NULL) {
|
||||
spa_v4l2_stream_off(this);
|
||||
spa_v4l2_clear_buffers(this);
|
||||
spa_v4l2_close(this);
|
||||
port->have_format = false;
|
||||
spa_v4l2_close(this);
|
||||
return 0;
|
||||
} else {
|
||||
spa_pod_object_parse(format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue