Commit 8bfd4061 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Pulse: don't spam if PulseAudio is not running

parent 130c765b
...@@ -233,7 +233,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -233,7 +233,7 @@ static int Open ( vlc_object_t *p_this )
pa_threaded_mainloop_wait(p_sys->mainloop); pa_threaded_mainloop_wait(p_sys->mainloop);
if (pa_context_get_state(p_sys->context) != PA_CONTEXT_READY) { 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; goto unlock_and_fail;
} }
...@@ -297,7 +297,7 @@ unlock_and_fail: ...@@ -297,7 +297,7 @@ unlock_and_fail:
if (p_sys->mainloop) if (p_sys->mainloop)
pa_threaded_mainloop_unlock(p_sys->mainloop); pa_threaded_mainloop_unlock(p_sys->mainloop);
fail: fail:
msg_Err(p_aout, "Pulse initialization failed"); msg_Dbg(p_aout, "Pulse initialization failed");
uninit(p_aout); uninit(p_aout);
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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