adapter: log command errors when no converter

This commit is contained in:
Wim Taymans 2025-05-20 10:41:59 +02:00
parent 603aae2dc8
commit 61168adb92
2 changed files with 2 additions and 2 deletions

View file

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

View file

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