mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
stream: request quantum when no rate_match
If we have nothing to request, ask for a quantum worth of data.
This commit is contained in:
parent
5fc1ab90f7
commit
1f2c4cc8dc
1 changed files with 1 additions and 1 deletions
|
|
@ -562,7 +562,7 @@ static inline uint32_t update_requested(struct stream *impl)
|
|||
buffer->this.requested = r->size;
|
||||
res = r->size > 0 ? 1 : 0;
|
||||
} else {
|
||||
buffer->this.requested = 0;
|
||||
buffer->this.requested = impl->quantum;
|
||||
res = 1;
|
||||
}
|
||||
pw_log_trace_fp("%p: update buffer:%u size:%u", impl, id, r->size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue