mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
add more warnings and fix one
This commit is contained in:
parent
002bcae856
commit
dc331aa562
2 changed files with 5 additions and 2 deletions
|
|
@ -1078,9 +1078,10 @@ struct pw_impl_link *pw_context_create_link(struct pw_context *context,
|
|||
output_node, output->port_id, this->rt.out_mix.port.port_id,
|
||||
input_node, input->port_id, this->rt.in_mix.port.port_id);
|
||||
|
||||
asprintf(&this->name, "%d.%d -> %d.%d",
|
||||
if (asprintf(&this->name, "%d.%d -> %d.%d",
|
||||
output_node->info.id, output->port_id,
|
||||
input_node->info.id, input->port_id);
|
||||
input_node->info.id, input->port_id) < 0)
|
||||
this->name = NULL;
|
||||
pw_log_info("(%s) (%s) -> (%s)", this->name, output_node->name, input_node->name);
|
||||
|
||||
pw_impl_port_emit_link_added(output, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue