[vlc-commits] [Git][videolan/vlc][master] pulse: don't print error if S/PDIF is unavailable
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Tue Dec 21 21:01:27 UTC 2021
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
52a789ea by Rémi Denis-Courmont at 2021-12-21T20:47:11+00:00
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.
- - - - -
1 changed file:
- modules/audio_output/pulse.c
Changes:
=====================================
modules/audio_output/pulse.c
=====================================
@@ -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;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/52a789ea8197ff22ccb37d42dce1a825cedadb83
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/52a789ea8197ff22ccb37d42dce1a825cedadb83
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list