From 6a5f2bbd1f80b52ade0b4979060259267ce4900f Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 19 Dec 2024 10:39:44 +0530 Subject: [PATCH] bluez5: media-sink: Log need_flush in flush_buffer --- spa/plugins/bluez5/media-sink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/bluez5/media-sink.c b/spa/plugins/bluez5/media-sink.c index 007513e5e..b32b1bf21 100644 --- a/spa/plugins/bluez5/media-sink.c +++ b/spa/plugins/bluez5/media-sink.c @@ -719,8 +719,8 @@ static int encode_fragment(struct impl *this) static int flush_buffer(struct impl *this) { - spa_log_trace(this->log, "%p: used:%d block_size:%d", this, - this->buffer_used, this->block_size); + spa_log_trace(this->log, "%p: used:%d block_size:%d need_flush:%d", this, + this->buffer_used, this->block_size, this->need_flush); if (this->need_flush) return send_buffer(this);