From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 21 Dec 2021 15:18:14 +0000 (+0000) Subject: Look for 0.15 seconds of a lead time... X-Git-Tag: 4.1-rc1~24^2~336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc736cd12f907bffb93ca1a313c8d97ec703648c;p=thirdparty%2Fshairport-sync.git Look for 0.15 seconds of a lead time... --- diff --git a/player.c b/player.c index 7750c504..37757f8b 100644 --- a/player.c +++ b/player.c @@ -1063,7 +1063,7 @@ static abuf_t *buffer_get_frame(rtsp_conn_info *conn) { int64_t lt = conn->first_packet_time_to_play - local_time_now; - if (lt < 100000000) { + if (lt < 150000000) { debug(1, "Connection %d: Short lead time for first frame %" PRId64 ": %f seconds. Flushing 0.5 seconds", conn->connection_number, conn->first_packet_timestamp, lt * 0.000000001); do_flush(conn->first_packet_timestamp + 5 * 4410, conn);