mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulser-server: revert attempt to flush more
size is later used as the buffer size and might be too large.
This commit is contained in:
parent
b65b291bb2
commit
8636c509f5
1 changed files with 0 additions and 4 deletions
|
|
@ -1550,10 +1550,6 @@ static void stream_process(void *data)
|
|||
size = SPA_MIN(buf->datas[0].maxsize, minreq);
|
||||
memset(p, 0, size);
|
||||
|
||||
/* skip the remainder, avail can be negative and thus
|
||||
* we can skip a lot here. */
|
||||
size = (int32_t)minreq - avail;
|
||||
|
||||
if (stream->draining) {
|
||||
stream->draining = false;
|
||||
pw_stream_flush(stream->stream, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue