mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
v4l2: handle suspend
This commit is contained in:
parent
b0705a89b0
commit
9ffa9c0b08
2 changed files with 4 additions and 3 deletions
|
|
@ -307,6 +307,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
|
|||
break;
|
||||
}
|
||||
case SPA_NODE_COMMAND_Pause:
|
||||
case SPA_NODE_COMMAND_Suspend:
|
||||
if ((res = spa_v4l2_stream_off(this)) < 0)
|
||||
return res;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue