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

PulseAudio: don't print an error when latency returns no data

This happens almost all the time, and is unfortunately normal behavior.
parent f9d72915
......@@ -164,6 +164,7 @@ static mtime_t vlc_pa_get_latency(audio_output_t *aout,
int negative;
if (pa_stream_get_latency(s, &latency, &negative)) {
if (pa_context_errno (ctx) != PA_ERR_NODATA)
vlc_pa_error(aout, "unknown latency", ctx);
return VLC_TS_INVALID;
}
......
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