From 65391a6916c1ce72d90d56bbc7da3982ae6551b5 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 13 Aug 2020 17:44:35 +0100 Subject: [PATCH] Potentially fix a flaw in resyncing. A flush is set up but not triggered. --- player.c | 1 + 1 file changed, 1 insertion(+) diff --git a/player.c b/player.c index dcef6c4e..d725ed9c 100644 --- a/player.c +++ b/player.c @@ -2320,6 +2320,7 @@ void *player_thread_func(void *arg) { uint32_t frames_to_drop_sized = local_frames_to_drop; debug_mutex_lock(&conn->flush_mutex, 1000, 1); + conn->flush_requested = 1; conn->flush_rtp_timestamp = inframe->given_timestamp + frames_to_drop_sized; // flush all packets up to (and including?) this