mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:00:05 +01:00
stream: fix id and status swap
This commit is contained in:
parent
aca566a02d
commit
80c548edb2
1 changed files with 2 additions and 2 deletions
|
|
@ -823,8 +823,8 @@ static void clear_buffers(struct pw_stream *stream)
|
|||
clear_queue(impl, &impl->dequeued);
|
||||
struct spa_io_buffers *io = impl->io;
|
||||
if (io && io->status == SPA_STATUS_HAVE_DATA) {
|
||||
io->status = SPA_ID_INVALID;
|
||||
io->buffer_id = SPA_STATUS_OK;
|
||||
io->buffer_id = SPA_ID_INVALID;
|
||||
io->status = SPA_STATUS_OK;
|
||||
}
|
||||
}
|
||||
clear_queue(impl, &impl->queued);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue