adapter: log command errors when no converter

This commit is contained in:
Wim Taymans 2025-05-20 10:41:59 +02:00
parent 7dc1d28b2c
commit 12f8ca664b
2 changed files with 2 additions and 2 deletions

View file

@ -1059,7 +1059,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
} }
res = spa_node_send_command(this->target, command); res = spa_node_send_command(this->target, command);
if (res == -ENOTSUP) if (res == -ENOTSUP && this->target != this->follower)
res = 0; res = 0;
if (res < 0) { if (res < 0) {
spa_log_error(this->log, "%p: can't send command %d: %s", spa_log_error(this->log, "%p: can't send command %d: %s",

View file

@ -1110,7 +1110,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
} }
res = spa_node_send_command(this->target, command); res = spa_node_send_command(this->target, command);
if (res == -ENOTSUP) if (res == -ENOTSUP && this->target != this->follower)
res = 0; res = 0;
if (res < 0) { if (res < 0) {
spa_log_error(this->log, "%p: can't send command %d: %s", spa_log_error(this->log, "%p: can't send command %d: %s",