From: Steinar H. Gunderson Date: Sun, 30 Aug 2020 21:01:46 +0000 (+0200) Subject: Fix an oversight in JitterHistory::clear(). X-Git-Tag: 2.0.2~14 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=91398c6aaab0f999090821577240b94f7bcd6d9d Fix an oversight in JitterHistory::clear(). --- 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; }