mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: a2dp-source should not stop on codec decode failures
A2DP source should continue trying to decode, even if garbled data is received.
This commit is contained in:
parent
3d4eafcb0f
commit
9ad53d9d19
1 changed files with 2 additions and 2 deletions
|
|
@ -509,8 +509,8 @@ static void a2dp_on_ready_read(struct spa_source *source)
|
|||
decoded = decode_data(this, this->buffer_read, size_read,
|
||||
read_decoded, sizeof (read_decoded));
|
||||
if (decoded < 0) {
|
||||
spa_log_error(this->log, "failed to decode data: %d", decoded);
|
||||
goto stop;
|
||||
spa_log_debug(this->log, "failed to decode data: %d", decoded);
|
||||
return;
|
||||
}
|
||||
if (decoded == 0)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue