mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse: always update and debug the error
This commit is contained in:
parent
7120bfe059
commit
adfa88c961
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
int pa_context_set_error(PA_CONST pa_context *c, int error) {
|
||||
pa_assert(error >= 0);
|
||||
pa_assert(error < PA_ERR_MAX);
|
||||
if (c && c->error != error) {
|
||||
if (c) {
|
||||
pw_log_debug("context %p: error %d %s", c, error, pa_strerror(error));
|
||||
((pa_context*)c)->error = error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue