[vlc-commits] wasapi: improve debug log in failure cases
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 25 23:56:56 CET 2018
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 25 23:56:14 2018 +0100| [eb82d3412e088e1f0ec1b5bf83ca0344b1337e59] | committer: Jean-Baptiste Kempf
wasapi: improve debug log in failure cases
Should help for #19541
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb82d3412e088e1f0ec1b5bf83ca0344b1337e59
---
modules/audio_output/wasapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/wasapi.c b/modules/audio_output/wasapi.c
index 87110b89a3..ada493b56b 100644
--- a/modules/audio_output/wasapi.c
+++ b/modules/audio_output/wasapi.c
@@ -541,7 +541,7 @@ static HRESULT Start(aout_stream_t *s, audio_sample_format_t *restrict pfmt,
if (pfmt->i_format == VLC_CODEC_DTS && b_hdmi)
{
msg_Warn(s, "cannot negotiate DTS at 768khz IEC958 rate (HDMI), "
- "fallback to 48kHz (S/PDIF)");
+ "fallback to 48kHz (S/PDIF) (error 0x%lx)", hr);
IAudioClient_Release(sys->client);
free(sys);
var_SetBool(s->obj.parent, "dtshd", false);
More information about the vlc-commits
mailing list