mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
improve debug
This commit is contained in:
parent
650f9eb9a7
commit
04f8da9110
2 changed files with 3 additions and 3 deletions
|
|
@ -1357,7 +1357,6 @@ int pw_link_register(struct pw_link *link,
|
||||||
struct pw_global *parent,
|
struct pw_global *parent,
|
||||||
struct pw_properties *properties)
|
struct pw_properties *properties)
|
||||||
{
|
{
|
||||||
struct impl *impl = SPA_CONTAINER_OF(link, struct impl, this);
|
|
||||||
struct pw_core *core = link->core;
|
struct pw_core *core = link->core;
|
||||||
struct pw_node *input_node, *output_node;
|
struct pw_node *input_node, *output_node;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
struct impl *impl = SPA_CONTAINER_OF(node, struct impl, this);
|
||||||
enum pw_node_state old = node->info.state;
|
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(old),
|
||||||
pw_node_state_as_string(state));
|
pw_node_state_as_string(state),
|
||||||
|
node->active);
|
||||||
|
|
||||||
if (old == state)
|
if (old == state)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue