cleanups and debug improvements

This commit is contained in:
Wim Taymans 2019-07-11 11:15:24 +02:00
parent a9cb74f908
commit a9bce3803a
4 changed files with 8 additions and 8 deletions

View file

@ -263,14 +263,14 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
}
if ((res = spa_node_send_command(this->target, command)) < 0) {
spa_log_error(this->log, NAME " %p: can start convert: %s",
spa_log_error(this->log, NAME " %p: can't start convert: %s",
this, spa_strerror(res));
return res;
}
if (this->target != this->slave) {
if ((res = spa_node_send_command(this->slave, command)) < 0) {
spa_log_error(this->log, NAME " %p: can start slave: %s",
spa_log_error(this->log, NAME " %p: can't start slave: %s",
this, spa_strerror(res));
return res;
}