[polypaudio-commits] r484 - /trunk/polyp/main.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Feb 15 17:16:02 PST 2006
Author: lennart
Date: Thu Feb 16 02:16:02 2006
New Revision: 484
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=484&root=polypaudio&view=rev
Log:
allow polypaudio to startup without any enabled module
Modified:
trunk/polyp/main.c
Modified: trunk/polyp/main.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/polyp/main.c?rev=484&root=polypaudio&r1=483&r2=484&view=diff
==============================================================================
--- trunk/polyp/main.c (original)
+++ trunk/polyp/main.c Thu Feb 16 02:16:02 2006
@@ -428,7 +428,8 @@
c->scache_idle_time = conf->scache_idle_time;
c->resample_method = conf->resample_method;
- if (pa_namereg_get(c, c->default_sink_name, PA_NAMEREG_SINK, 1) == NULL) {
+ if (c->default_sink_name &&
+ pa_namereg_get(c, c->default_sink_name, PA_NAMEREG_SINK, 1) == NULL) {
pa_log_error("%s : Fatal error. Default sink name (%s) does not exist in name register.\n", __FILE__, c->default_sink_name);
retval = 1;
} else {
More information about the pulseaudio-commits
mailing list