mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-11 23:50:35 -04:00
bluez5: require RegisterApplication() support
The `{Un}Register{Endpoint,Player}()` functions of the `org.bluez.Media1`
interface were deprecated with the introduction of the `{Un}RegisterApplication()`
functions[0][1]. Fallback to the deprecated interfaces has been present for a
long time in pipewire, but those parts in their current form are prone to
use-after-free issues (#5096). Instead of fixing them, remove them as they
have been deprecated for a long time. The first version of bluez that supports
the new interfaces is 5.51, released on 2019-09-19 [2].
[0]: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=65bd68b907a95b4748df6929383a833ecfb4b660
[1]: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=01f8fc2997524d85817adb8176e542bac9d0cdfa
[2]: https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?h=5.51&id=6de4bdb957cdc85d89851420ab06ca8e226f8d4e
This commit is contained in:
parent
31f0300c48
commit
eec372ba9d
2 changed files with 5 additions and 143 deletions
|
|
@ -368,7 +368,6 @@ struct spa_bt_adapter {
|
|||
int powered;
|
||||
unsigned int has_msbc:1;
|
||||
unsigned int msbc_probed:1;
|
||||
unsigned int legacy_endpoints_registered:1;
|
||||
unsigned int a2dp_application_registered:1;
|
||||
unsigned int bap_application_registered:1;
|
||||
unsigned int player_registered:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue