mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
stream: fix id and status swap
This commit is contained in:
parent
0829f32114
commit
b341668fda
1 changed files with 2 additions and 2 deletions
|
|
@ -846,8 +846,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
Add a link
Reference in a new issue