mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-20 06:59:58 -05:00
debug: Don't debug EBUSY params
When a device returned EBUSY when enumerating params, don't try to enumerate (and fail) them again.
This commit is contained in:
parent
f02c339645
commit
79fd4c941f
2 changed files with 4 additions and 0 deletions
|
|
@ -600,6 +600,8 @@ int pw_context_debug_port_params(struct pw_context *this,
|
|||
pw_log_error("params %s: %d:%d (%s) %s",
|
||||
spa_debug_type_find_name(spa_type_param, id),
|
||||
direction, port_id, debug, spa_strerror(err));
|
||||
if (err == -EBUSY)
|
||||
return 0;
|
||||
|
||||
state = 0;
|
||||
while (true) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue