mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
cleanups and debug improvements
This commit is contained in:
parent
a9cb74f908
commit
a9bce3803a
4 changed files with 8 additions and 8 deletions
|
|
@ -577,11 +577,12 @@ static int do_allocation(struct pw_link *this)
|
|||
|
||||
pw_link_update_state(this, PW_LINK_STATE_ALLOCATING, NULL);
|
||||
|
||||
pw_log_debug("link %p: doing alloc buffers %p %p", this, output->node, input->node);
|
||||
|
||||
in_flags = input->spa_flags;
|
||||
out_flags = output->spa_flags;
|
||||
|
||||
pw_log_debug("link %p: doing alloc buffers %p %p: in_flags:%08x out_flags:%08x",
|
||||
this, output->node, input->node, in_flags, out_flags);
|
||||
|
||||
if (out_flags & SPA_PORT_FLAG_LIVE) {
|
||||
pw_log_debug("setting link as live");
|
||||
output->node->live = true;
|
||||
|
|
|
|||
|
|
@ -232,9 +232,8 @@ static int update_properties(struct pw_port *port, const struct spa_dict *dict)
|
|||
|
||||
changed = pw_properties_update(port->properties, dict);
|
||||
|
||||
pw_log_debug("port %p: updated %d properties", port, changed);
|
||||
|
||||
if (changed) {
|
||||
pw_log_debug("port %p: updated %d properties", port, changed);
|
||||
port->info.props = &port->properties->dict;
|
||||
port->info.change_mask |= PW_PORT_CHANGE_MASK_PROPS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue