mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
stream: set state to unconnected when unconnecting
This commit is contained in:
parent
4615c5781a
commit
d91e545e1d
1 changed files with 1 additions and 0 deletions
|
|
@ -1100,6 +1100,7 @@ int pw_stream_disconnect(struct pw_stream *stream)
|
||||||
pw_node_destroy(impl->node);
|
pw_node_destroy(impl->node);
|
||||||
impl->node = NULL;
|
impl->node = NULL;
|
||||||
}
|
}
|
||||||
|
stream_set_state(stream, PW_STREAM_STATE_UNCONNECTED, NULL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue