mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-13 13:30:05 -05:00
core: improve debug
This commit is contained in:
parent
4abd02be4b
commit
47ae56df7d
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ static void core_event_bound_id(void *data, uint32_t id, uint32_t global_id)
|
||||||
struct pw_core *this = data;
|
struct pw_core *this = data;
|
||||||
struct pw_proxy *proxy;
|
struct pw_proxy *proxy;
|
||||||
|
|
||||||
pw_log_debug(NAME" %p: proxy %u bound %u", this, id, global_id);
|
pw_log_debug(NAME" %p: proxy id %u bound %u", this, id, global_id);
|
||||||
if ((proxy = pw_map_lookup(&this->objects, id)) != NULL) {
|
if ((proxy = pw_map_lookup(&this->objects, id)) != NULL) {
|
||||||
pw_proxy_set_bound_id(proxy, global_id);
|
pw_proxy_set_bound_id(proxy, global_id);
|
||||||
}
|
}
|
||||||
|
|
@ -188,7 +188,7 @@ static int destroy_proxy(void *object, void *data)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (object != core) {
|
if (object != core) {
|
||||||
pw_log_warn(NAME" %p: leaked proxy %d", core, p->id);
|
pw_log_warn(NAME" %p: leaked proxy %p id:%d", core, p, p->id);
|
||||||
p->core = NULL;
|
p->core = NULL;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue