[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-test5-48-gbcbfd5b
Lennart Poettering
gitmailer-noreply at 0pointer.de
Mon Mar 23 14:27:36 PDT 2009
This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.
The master branch has been updated
from 52dcb950efead46a398da977bc28e560f8564b62 (commit)
- Log -----------------------------------------------------------------
bcbfd5b don't fail when no session bus is available
-----------------------------------------------------------------------
Summary of changes:
src/modules/reserve-wrap.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
commit bcbfd5b9835ca2e7d00cd3f2ca090bcfea182451
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Mar 23 22:27:29 2009 +0100
don't fail when no session bus is available
diff --git a/src/modules/reserve-wrap.c b/src/modules/reserve-wrap.c
index 7d33927..c956673 100644
--- a/src/modules/reserve-wrap.c
+++ b/src/modules/reserve-wrap.c
@@ -112,8 +112,11 @@ pa_reserve_wrapper* pa_reserve_wrapper_get(pa_core *c, const char *device_name)
pa_assert_se(pa_shared_set(c, r->shared_name, r) >= 0);
if (!(r->connection = pa_dbus_bus_get(c, DBUS_BUS_SESSION, &error)) || dbus_error_is_set(&error)) {
- pa_log_error("Unable to contact D-Bus session bus: %s: %s", error.name, error.message);
- goto fail;
+ pa_log_warn("Unable to contact D-Bus session bus: %s: %s", error.name, error.message);
+
+ /* We don't treat this as error here because we want allow PA
+ * to run even when no session bus is available. */
+ return r;
}
if ((k = rd_acquire(
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list