mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
context: improve param debug
Make it possible to log more info in the param debug functions
This commit is contained in:
parent
6495199a7a
commit
108bf82a10
4 changed files with 19 additions and 13 deletions
|
|
@ -257,11 +257,11 @@ int pw_buffers_negotiate(struct pw_context *context, uint32_t flags,
|
|||
res = param_filter(result, &input, &output, SPA_PARAM_Buffers, &b);
|
||||
if (res < 0) {
|
||||
pw_context_debug_port_params(context, input.node, input.direction,
|
||||
input.port_id, SPA_PARAM_Buffers,
|
||||
"input param", res);
|
||||
input.port_id, SPA_PARAM_Buffers, res,
|
||||
"input param");
|
||||
pw_context_debug_port_params(context, output.node, output.direction,
|
||||
output.port_id, SPA_PARAM_Buffers,
|
||||
"output param", res);
|
||||
output.port_id, SPA_PARAM_Buffers, res,
|
||||
"output param");
|
||||
return res;
|
||||
}
|
||||
n_params = res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue