improve some errors

Silence some -ENOENT warnings, they can happen when the object we
are introspecting is destroyed
This commit is contained in:
Wim Taymans 2020-11-29 16:21:14 +01:00
parent a1259a75be
commit b8300c663b
9 changed files with 18 additions and 12 deletions

View file

@ -295,7 +295,7 @@ on_core_error(void *data, uint32_t id, int seq, int res, const char *message)
struct core_data *rd = data;
GstPipeWireDeviceProvider *self = rd->self;
pw_log_error("error id:%u seq:%d res:%d (%s): %s",
pw_log_warn("error id:%u seq:%d res:%d (%s): %s",
id, seq, res, spa_strerror(res), message);
if (id == PW_ID_CORE) {