mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
bluetooth: fix build for libdbus < 1.3
This commit is contained in:
parent
07eea95dc1
commit
96338eec28
1 changed files with 2 additions and 0 deletions
|
|
@ -955,12 +955,14 @@ int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char *
|
|||
return -1;
|
||||
}
|
||||
|
||||
#ifdef DBUS_TYPE_UNIX_FD
|
||||
if (!dbus_message_get_args(r, &err, DBUS_TYPE_UNIX_FD, &ret, DBUS_TYPE_INVALID)) {
|
||||
pa_log("Failed to parse org.bluez.MediaTransport.Acquire(): %s", err.message);
|
||||
ret = -1;
|
||||
dbus_error_free(&err);
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
||||
fail:
|
||||
dbus_message_unref(r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue