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

PulseAudio: print debug if we cannot estimate the start time

parent 44bf8bbc
......@@ -254,8 +254,10 @@ static void stream_resync(audio_output_t *aout, pa_stream *s)
}
delta = vlc_pa_get_latency(aout, sys->context, s);
if (unlikely(delta == VLC_TS_INVALID))
if (unlikely(delta == VLC_TS_INVALID)) {
msg_Dbg(aout, "cannot synchronize start");
delta = 0; /* screwed */
}
delta = (sys->pts - mdate()) - delta;
if (delta > 0) {
......
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