stream: don't crash when there is no io_rate

This commit is contained in:
Wim Taymans 2022-07-07 15:56:25 +02:00
parent 4da583a44b
commit a293e079d1

View file

@ -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;
} }