mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: module-rt: do not retrieve dbus message serial numbers
They are not used, so don't query them from libdbus.
This commit is contained in:
parent
494e6ce70e
commit
4da82d5475
1 changed files with 3 additions and 4 deletions
|
|
@ -400,7 +400,7 @@ static int pw_rtkit_make_realtime(struct impl *impl, pid_t thread, int priority)
|
|||
spa_autoptr(DBusMessage) m = NULL;
|
||||
dbus_uint64_t pid;
|
||||
dbus_uint64_t u64;
|
||||
dbus_uint32_t u32, serial;
|
||||
dbus_uint32_t u32;
|
||||
struct pw_rtkit_bus *connection = impl->rtkit_bus;
|
||||
|
||||
if (thread == 0)
|
||||
|
|
@ -423,7 +423,7 @@ static int pw_rtkit_make_realtime(struct impl *impl, pid_t thread, int priority)
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (!dbus_connection_send(connection->bus, m, &serial))
|
||||
if (!dbus_connection_send(connection->bus, m, NULL))
|
||||
return -EIO;
|
||||
|
||||
return 0;
|
||||
|
|
@ -435,7 +435,6 @@ static int pw_rtkit_make_high_priority(struct impl *impl, pid_t thread, int nice
|
|||
dbus_uint64_t pid;
|
||||
dbus_uint64_t u64;
|
||||
dbus_int32_t s32;
|
||||
dbus_uint32_t serial;
|
||||
struct pw_rtkit_bus *connection = impl->rtkit_bus;
|
||||
|
||||
if (thread == 0)
|
||||
|
|
@ -458,7 +457,7 @@ static int pw_rtkit_make_high_priority(struct impl *impl, pid_t thread, int nice
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
if (!dbus_connection_send(connection->bus, m, &serial))
|
||||
if (!dbus_connection_send(connection->bus, m, NULL))
|
||||
return -EIO;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue