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

PulseAudio: print debug if we cannot estimate the start time

(cherry picked from commit 9309fb85a95717a64e6ac3634ffdfbb2d56c551e)
parent b1568196
...@@ -262,8 +262,10 @@ static void stream_resync(audio_output_t *aout, pa_stream *s) ...@@ -262,8 +262,10 @@ static void stream_resync(audio_output_t *aout, pa_stream *s)
} }
delta = vlc_pa_get_latency(aout, sys->context, 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 = 0; /* screwed */
}
delta = (sys->pts - mdate()) - delta; delta = (sys->pts - mdate()) - delta;
if (delta > 0) { 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