mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05: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);
|
clear_queue(impl, &impl->dequeued);
|
||||||
struct spa_io_buffers *io = impl->io;
|
struct spa_io_buffers *io = impl->io;
|
||||||
if (io && io->status == SPA_STATUS_HAVE_DATA) {
|
if (io && io->status == SPA_STATUS_HAVE_DATA) {
|
||||||
io->status = SPA_ID_INVALID;
|
io->buffer_id = SPA_ID_INVALID;
|
||||||
io->buffer_id = SPA_STATUS_OK;
|
io->status = SPA_STATUS_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
clear_queue(impl, &impl->queued);
|
clear_queue(impl, &impl->queued);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue