mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
impl-link: fix log
This commit is contained in:
parent
81437f7a77
commit
80afa3a296
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ static inline void input_set_busy_id(struct pw_impl_link *link, uint32_t id)
|
|||
link->input->busy_count++;
|
||||
impl->input_busy_id = id;
|
||||
if (link->input->busy_count < 0)
|
||||
pw_log_error("%p: invalid busy count:%d", link->input->busy_count);
|
||||
pw_log_error("%s: invalid busy count:%d", link->name, link->input->busy_count);
|
||||
}
|
||||
|
||||
static inline void output_set_busy_id(struct pw_impl_link *link, uint32_t id)
|
||||
|
|
@ -161,7 +161,7 @@ static inline void output_set_busy_id(struct pw_impl_link *link, uint32_t id)
|
|||
link->output->busy_count++;
|
||||
impl->output_busy_id = id;
|
||||
if (link->output->busy_count < 0)
|
||||
pw_log_error("%p: invalid busy count:%d", link->output->busy_count);
|
||||
pw_log_error("%s: invalid busy count:%d", link->name, link->output->busy_count);
|
||||
}
|
||||
|
||||
static void link_update_state(struct pw_impl_link *link, enum pw_link_state state, int res, char *error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue