From: Mike Brady Date: Tue, 2 Apr 2019 15:33:30 +0000 (+0100) Subject: only need to ensure at least one packet has been received, it seems. X-Git-Tag: 3.3rc4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=223dfd7801b56796aa52a23872e2b2ff2abc826f;p=thirdparty%2Fshairport-sync.git only need to ensure at least one packet has been received, it seems. --- diff --git a/rtp.c b/rtp.c index 0e679d66..21648820 100644 --- a/rtp.c +++ b/rtp.c @@ -382,7 +382,7 @@ void *rtp_control_receiver(void *arg) { debug_mutex_lock(&conn->reference_time_mutex, 1000, 0); if (conn->initial_reference_time == 0) { - if (conn->packet_count_since_flush > 50) { + if (conn->packet_count_since_flush > 0) { conn->initial_reference_time = remote_time_of_sync; conn->initial_reference_timestamp = sync_rtp_timestamp; }