mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
tools: make pw-dump/mon/top try to connect to the default manager socket
These tools are used for debugging, and should default to connecting to the manager socket if present.
This commit is contained in:
parent
9eaf1184c2
commit
963ea1f57c
3 changed files with 6 additions and 3 deletions
|
|
@ -1608,7 +1608,8 @@ int main(int argc, char *argv[])
|
|||
|
||||
data.core = pw_context_connect(data.context,
|
||||
pw_properties_new(
|
||||
PW_KEY_REMOTE_NAME, opt_remote,
|
||||
PW_KEY_REMOTE_NAME, opt_remote ? opt_remote :
|
||||
("[" PW_DEFAULT_REMOTE "-manager," PW_DEFAULT_REMOTE "]"),
|
||||
NULL),
|
||||
0);
|
||||
if (data.core == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue