mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-07 12:06:32 -04:00
impl-link: use the right port direction string
We might swap input and output so make sure we use the right one in the debug log to avoid confusion.
This commit is contained in:
parent
c362bca5e9
commit
9825fb3647
1 changed files with 2 additions and 2 deletions
|
|
@ -606,10 +606,10 @@ static int do_negotiate(struct pw_impl_link *this)
|
|||
error:
|
||||
pw_context_debug_port_params(context, node[0],
|
||||
info[0]->port->direction, port_id[0],
|
||||
SPA_PARAM_EnumFormat, res, "input format (%s)", error);
|
||||
SPA_PARAM_EnumFormat, res, "%s format (%s)", dir[0], error);
|
||||
pw_context_debug_port_params(context, node[1],
|
||||
info[1]->port->direction, port_id[1],
|
||||
SPA_PARAM_EnumFormat, res, "output format (%s)", error);
|
||||
SPA_PARAM_EnumFormat, res, "%s format (%s)", dir[1], error);
|
||||
link_update_state(this, PW_LINK_STATE_ERROR, res, error);
|
||||
free(format);
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue