]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Look for 0.15 seconds of a lead time...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 21 Dec 2021 15:18:14 +0000 (15:18 +0000)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 21 Dec 2021 15:18:14 +0000 (15:18 +0000)
player.c

index 7750c50445477b260711fbba191640b516d2640e..37757f8bf9999f83b4a67aadb0c642efd5a490fe 100644 (file)
--- 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);