X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fqueue_length_policy.h;h=d1ee786b5789952975ad185f3071e5bc2f7a8d66;hb=896b8bb8e44409738aef56ba7d7b7f300c22d2ce;hp=0b8a4204fbcf7893d9f323ac6808fb7d66b04824;hpb=0f5b8fd8420a450f5994d5f535fdce84dbb10093;p=nageru diff --git a/nageru/queue_length_policy.h b/nageru/queue_length_policy.h index 0b8a420..d1ee786 100644 --- a/nageru/queue_length_policy.h +++ b/nageru/queue_length_policy.h @@ -37,7 +37,7 @@ public: 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); + void frame_arrived(std::chrono::steady_clock::time_point now, int64_t frame_duration, size_t dropped_frames, bool verbose = false); std::chrono::steady_clock::time_point get_expected_next_frame() const { return expected_timestamp; } double estimate_max_jitter() const; @@ -94,7 +94,7 @@ public: int64_t input_frame_duration, int64_t master_frame_duration, double max_input_card_jitter_seconds, - double max_master_card_jitter_seconds); + double max_master_card_jitter_seconds, bool verbose=false); unsigned get_safe_queue_length() const { return safe_queue_length; } private: