Commit eb82d341 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

wasapi: improve debug log in failure cases

Should help for #19541
parent b5c5c848
......@@ -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);
var_SetBool(s->obj.parent, "dtshd", false);
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