diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-08-20 17:33:34 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-08-20 18:00:00 +0200 |
commit | adfa88c9617b8f9a5a650de1317fe9a6a718922a (patch) | |
tree | 78880104edae0514b261f0385faa14b93675ad35 /pipewire-pulseaudio | |
parent | 7120bfe059a435e67166fe193410606d1e42ce92 (diff) |
pulse: always update and debug the error
Diffstat (limited to 'pipewire-pulseaudio')
-rw-r--r-- | pipewire-pulseaudio/src/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pipewire-pulseaudio/src/context.c b/pipewire-pulseaudio/src/context.c index e251c75d..587cd29d 100644 --- a/pipewire-pulseaudio/src/context.c +++ b/pipewire-pulseaudio/src/context.c @@ -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; } |