improve debug

This commit is contained in:
Wim Taymans 2018-09-26 11:44:50 +02:00
parent 650f9eb9a7
commit 04f8da9110
2 changed files with 3 additions and 3 deletions

View file

@ -1357,7 +1357,6 @@ int pw_link_register(struct pw_link *link,
struct pw_global *parent,
struct pw_properties *properties)
{
struct impl *impl = SPA_CONTAINER_OF(link, struct impl, this);
struct pw_core *core = link->core;
struct pw_node *input_node, *output_node;

View file

@ -1018,9 +1018,10 @@ int pw_node_set_state(struct pw_node *node, enum pw_node_state state)
struct impl *impl = SPA_CONTAINER_OF(node, struct impl, this);
enum pw_node_state old = node->info.state;
pw_log_debug("node %p: set state %s -> %s", node,
pw_log_debug("node %p: set state %s -> %s, active %d", node,
pw_node_state_as_string(old),
pw_node_state_as_string(state));
pw_node_state_as_string(state),
node->active);
if (old == state)
return 0;