bluez5: media-sink: Log need_flush in flush_buffer

This commit is contained in:
Sanchayan Maity 2024-12-19 10:39:44 +05:30 committed by Wim Taymans
parent 71e403bbdb
commit 6a5f2bbd1f

View file

@ -719,8 +719,8 @@ static int encode_fragment(struct impl *this)
static int flush_buffer(struct impl *this) static int flush_buffer(struct impl *this)
{ {
spa_log_trace(this->log, "%p: used:%d block_size:%d", this, spa_log_trace(this->log, "%p: used:%d block_size:%d need_flush:%d", this,
this->buffer_used, this->block_size); this->buffer_used, this->block_size, this->need_flush);
if (this->need_flush) if (this->need_flush)
return send_buffer(this); return send_buffer(this);