From 0c434e4821725d83824c76926ac1c406adf17929 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Mon, 29 Jan 2024 00:17:05 +0200 Subject: [PATCH] bluez5: reset A2DP codec shared endpoint status on disconnect --- spa/plugins/bluez5/bluez5-dbus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index 9b2359c5b..9a5a60855 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -1469,6 +1469,7 @@ static void device_clear_sub(struct spa_bt_device *device) { battery_remove(device); spa_bt_device_release_transports(device); + device->preferred_codec = NULL; } static void device_free(struct spa_bt_device *device)