mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
stream: only activate when asked
This commit is contained in:
parent
db56f1c9f6
commit
f8b93d2a1b
1 changed files with 2 additions and 1 deletions
|
|
@ -791,7 +791,8 @@ static int handle_connect(struct pw_stream *stream)
|
|||
pw_node_set_implementation(impl->node, &impl->impl_node);
|
||||
|
||||
pw_node_register(impl->node, NULL, NULL, NULL);
|
||||
pw_node_set_active(impl->node, true);
|
||||
if (!SPA_FLAG_CHECK(impl->flags, PW_STREAM_FLAG_INACTIVE))
|
||||
pw_node_set_active(impl->node, true);
|
||||
|
||||
pw_log_debug("stream %p: export node %p", stream, impl->node);
|
||||
stream->proxy = pw_remote_export(stream->remote, impl->node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue