client-node: improve debug

This commit is contained in:
Wim Taymans 2020-08-06 17:59:58 +02:00
parent 46b8b67ee6
commit 8b2617227a

View file

@ -1023,6 +1023,8 @@ client_node_port_update(void *data,
static int client_node_set_active(void *data, bool active) static int client_node_set_active(void *data, bool active)
{ {
struct impl *impl = data; struct impl *impl = data;
struct node *this = &impl->node;
spa_log_debug(this->log, NAME" %p: active:%d", this, active);
return pw_impl_node_set_active(impl->this.node, active); return pw_impl_node_set_active(impl->this.node, active);
} }