Commit 01c25036 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

reserve-device: assume we are the owner if ApplicationName fails

parent 4eb853ca
Pipeline #180027 passed with stages
in 1 minute and 15 seconds
......@@ -123,7 +123,8 @@ on_application_name_appeared (GObject *obj, GAsyncResult *res, gpointer data)
name = wp_dbus_device_reservation_async_finish (self->reservation, res, &e);
if (e) {
wp_warning_object (self, "could not get application name: %s", e->message);
return;
wp_warning_object (self, "assume we are the owner of the audio device");
name = g_strdup (PIPEWIRE_APPLICATION_NAME);
}
wp_info_object (self, "owner appeared: %s", name ? name : "unknown");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment