mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
policy: improve debug
This commit is contained in:
parent
a607174033
commit
471c1a071c
1 changed files with 2 additions and 0 deletions
|
|
@ -475,6 +475,8 @@ static int rescan_node(struct impl *impl, struct node *n)
|
||||||
pw_log_debug(NAME " %p: target:%d", impl, path_id);
|
pw_log_debug(NAME " %p: target:%d", impl, path_id);
|
||||||
|
|
||||||
if ((obj = sm_media_session_find_object(impl->session, path_id)) != NULL) {
|
if ((obj = sm_media_session_find_object(impl->session, path_id)) != NULL) {
|
||||||
|
pw_log_debug(NAME " %p: found target:%d type:%s", impl,
|
||||||
|
path_id, obj->type);
|
||||||
if (strcmp(obj->type, PW_TYPE_INTERFACE_Node) == 0) {
|
if (strcmp(obj->type, PW_TYPE_INTERFACE_Node) == 0) {
|
||||||
peer = sm_object_get_data(obj, SESSION_KEY);
|
peer = sm_object_get_data(obj, SESSION_KEY);
|
||||||
if (peer == NULL)
|
if (peer == NULL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue