mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pulse-server: don't complete drain when corked
A corked stream should not complete a pending drain operation.
This commit is contained in:
parent
1b0252c267
commit
b9c8f0f6b9
1 changed files with 1 additions and 1 deletions
|
|
@ -1245,7 +1245,7 @@ static void stream_process(void *data)
|
|||
size = SPA_MIN(buf->datas[0].maxsize, minreq);
|
||||
memset(p, 0, size);
|
||||
|
||||
if (stream->draining) {
|
||||
if (stream->draining && !stream->corked) {
|
||||
stream->draining = false;
|
||||
do_flush = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue