policy: improve debug

This commit is contained in:
Wim Taymans 2020-07-03 16:25:28 +02:00
parent a607174033
commit 471c1a071c

View file

@ -475,6 +475,8 @@ static int rescan_node(struct impl *impl, struct node *n)
pw_log_debug(NAME " %p: target:%d", impl, path_id);
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) {
peer = sm_object_get_data(obj, SESSION_KEY);
if (peer == NULL)