From a293e079d1be41c00b6e4f831cc216964cbfbf15 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Jul 2022 15:56:25 +0200 Subject: [PATCH] stream: don't crash when there is no io_rate --- src/pipewire/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/stream.c b/src/pipewire/stream.c index ef4c4a1ed..b85a796d8 100644 --- a/src/pipewire/stream.c +++ b/src/pipewire/stream.c @@ -568,7 +568,7 @@ static inline uint32_t update_requested(struct stream *impl) buffer->this.requested = impl->quantum; 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; }