Skip to content
Snippets Groups Projects
Commit 52a789ea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

pulse: don't print error if S/PDIF is unavailable

This is not a failure. This is a perfectly normal and expected
situation. If PCM also fails, we will then print an error message.
parent 46d92032
No related branches found
No related tags found
1 merge request!1079pulse: don't print error if S/PDIF is unavailable
Pipeline #171496 passed with stages
in 29 minutes and 5 seconds
......@@ -962,8 +962,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
cvolume, NULL) < 0
|| stream_wait(s, sys->mainloop)) {
if (encoding != PA_ENCODING_PCM)
vlc_pa_error(aout, "digital pass-through stream connection failure",
sys->context);
msg_Dbg(aout, "digital pass-through not available");
else
vlc_pa_error(aout, "stream connection failure", sys->context);
goto fail;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment