mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
adapter: log command errors when no converter
This commit is contained in:
parent
603aae2dc8
commit
61168adb92
2 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue