mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: media-source: transport not started is not an error
Transport not being started should not be considered IO error in produce_buffer.
This commit is contained in:
parent
b619616c2a
commit
11df633b9b
1 changed files with 1 additions and 1 deletions
|
|
@ -1468,7 +1468,7 @@ static int produce_buffer(struct impl *this)
|
|||
io->buffer_id = SPA_ID_INVALID;
|
||||
}
|
||||
|
||||
if (!this->source.loop) {
|
||||
if (this->transport_started && !this->source.loop) {
|
||||
io->status = -EIO;
|
||||
return SPA_STATUS_STOPPED;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue