mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
parent
ead827d6cb
commit
5ead4507cc
1 changed files with 2 additions and 0 deletions
|
|
@ -332,6 +332,8 @@ int stream_update_minreq(struct stream *stream, uint32_t minreq)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
stream->attr.tlength = new_tlength;
|
stream->attr.tlength = new_tlength;
|
||||||
|
if (stream->attr.tlength > stream->attr.maxlength)
|
||||||
|
stream->attr.tlength = stream->attr.maxlength;
|
||||||
|
|
||||||
if (client->version >= 15) {
|
if (client->version >= 15) {
|
||||||
struct message *msg;
|
struct message *msg;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue