From c1f7963c2a337f807ba73779e3c07d18757df828 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Mon, 12 Jan 2026 19:57:56 +0200 Subject: [PATCH] bluez5: fix crash due to debug_mono Enabling bluez5.debug-iso-mono was in non-ISO branch and crashes. Fix that. --- spa/plugins/bluez5/media-sink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spa/plugins/bluez5/media-sink.c b/spa/plugins/bluez5/media-sink.c index 290852f16..02108c375 100644 --- a/spa/plugins/bluez5/media-sink.c +++ b/spa/plugins/bluez5/media-sink.c @@ -1567,12 +1567,11 @@ static int transport_start(struct impl *this) this->codec->description); return -EIO; } - - this->transport->iso_io->debug_mono = this->iso_debug_mono; } else { this->own_codec_data = false; this->codec_data = this->transport->iso_io->codec_data; this->codec_props_changed = true; + this->transport->iso_io->debug_mono = this->iso_debug_mono; } this->encoder_delay = 0;