From 91398c6aaab0f999090821577240b94f7bcd6d9d Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 30 Aug 2020 23:01:46 +0200 Subject: [PATCH] Fix an oversight in JitterHistory::clear(). --- nageru/queue_length_policy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/nageru/queue_length_policy.h b/nageru/queue_length_policy.h index faf6537..329eb82 100644 --- a/nageru/queue_length_policy.h +++ b/nageru/queue_length_policy.h @@ -35,6 +35,7 @@ public: void clear() { history.clear(); orders.clear(); + expected_timestamp = std::chrono::steady_clock::time_point::min(); } void frame_arrived(std::chrono::steady_clock::time_point now, int64_t frame_duration, size_t dropped_frames); std::chrono::steady_clock::time_point get_expected_next_frame() const { return expected_timestamp; } -- 2.39.2