mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-09 05:34:03 -04:00
bluez5: fix ISO sequence numbering
Pass zero-length packets to the codec. BAP/ISO may use these to indicate missing data. Fix A2DP codecs to not parse input with spa_return_val_if_fail, that's meant for assertions. Just return -EINVAL directly, it's normal that input data may contain garbage.
This commit is contained in:
parent
02d5d9bc1f
commit
ff81fc9f7b
10 changed files with 31 additions and 11 deletions
|
|
@ -637,8 +637,6 @@ static void media_on_ready_read(struct spa_source *source)
|
|||
|
||||
/* read */
|
||||
size_read = read_data (this, &now);
|
||||
if (size_read == 0)
|
||||
return;
|
||||
if (size_read < 0) {
|
||||
spa_log_error(this->log, "failed to read data: %s", spa_strerror(size_read));
|
||||
goto stop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue