mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
roc: NODE_PASSIVE can only be on the streams
Don't put NODE_PASSIVE on sinks/sources because it will request passive links to the linked node and thus not be activated. Fixes #2045
This commit is contained in:
parent
6a892c27b0
commit
695f8dfdd9
2 changed files with 0 additions and 4 deletions
|
|
@ -441,8 +441,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
pw_properties_set(capture_props, PW_KEY_NODE_VIRTUAL, "true");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_NETWORK) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_NETWORK, "true");
|
||||
if (pw_properties_get(capture_props, PW_KEY_NODE_PASSIVE) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_NODE_PASSIVE, "true");
|
||||
if ((str = pw_properties_get(capture_props, PW_KEY_MEDIA_CLASS)) == NULL)
|
||||
pw_properties_set(capture_props, PW_KEY_MEDIA_CLASS, "Audio/Sink");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue