Pulse: don't spam if PulseAudio is not running
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 28 Oct 2009 21:34:15 +0000 (23:34 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 28 Oct 2009 21:34:57 +0000 (23:34 +0200)
modules/audio_output/pulse.c

index c09b3f6..8ef0eda 100644 (file)
@@ -233,7 +233,7 @@ static int Open ( vlc_object_t *p_this )
     pa_threaded_mainloop_wait(p_sys->mainloop);
 
     if (pa_context_get_state(p_sys->context) != PA_CONTEXT_READY) {
-        msg_Err(p_aout, "Failed to connect to server: %s", pa_strerror(pa_context_errno(p_sys->context)));
+        msg_Dbg(p_aout, "Failed to connect to server: %s", pa_strerror(pa_context_errno(p_sys->context)));
         goto unlock_and_fail;
     }
 
@@ -297,7 +297,7 @@ unlock_and_fail:
     if (p_sys->mainloop)
         pa_threaded_mainloop_unlock(p_sys->mainloop);
 fail:
-    msg_Err(p_aout, "Pulse initialization failed");
+    msg_Dbg(p_aout, "Pulse initialization failed");
     uninit(p_aout);
     return VLC_EGENERIC;
 }