mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
stream: don't crash when there is no io_rate
This commit is contained in:
parent
4da583a44b
commit
a293e079d1
1 changed files with 1 additions and 1 deletions
|
|
@ -568,7 +568,7 @@ static inline uint32_t update_requested(struct stream *impl)
|
||||||
buffer->this.requested = impl->quantum;
|
buffer->this.requested = impl->quantum;
|
||||||
res = 1;
|
res = 1;
|
||||||
}
|
}
|
||||||
pw_log_trace_fp("%p: update buffer:%u size:%u", impl, id, r->size);
|
pw_log_trace_fp("%p: update buffer:%u size:%"PRIu64, impl, id, buffer->this.requested);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue