mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
pw-cli: silence port changes outside of monitor mode
This commit is contained in:
parent
74673c0862
commit
d83f2520b6
1 changed files with 1 additions and 1 deletions
|
|
@ -873,7 +873,7 @@ static void port_event_info(void *data, const struct pw_port_info *info)
|
||||||
{
|
{
|
||||||
struct proxy_data *pd = data;
|
struct proxy_data *pd = data;
|
||||||
struct remote_data *rd = pd->rd;
|
struct remote_data *rd = pd->rd;
|
||||||
if (pd->info)
|
if (pd->info && rd->data->monitoring)
|
||||||
printf("remote %d port %d changed\n", rd->id, info->id);
|
printf("remote %d port %d changed\n", rd->id, info->id);
|
||||||
pd->info = pw_port_info_update(pd->info, info);
|
pd->info = pw_port_info_update(pd->info, info);
|
||||||
if (pd->global == NULL)
|
if (pd->global == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue