Potentially fix a flaw in resyncing. A flush is set up but not triggered.

This commit is contained in:
Mike Brady
2020-08-13 17:44:35 +01:00
parent b6cb19be17
commit 65391a6916
+1
View File
@@ -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