Not a thorough review yet, looks good overall on a first pass.
86 + if (client_behind && missed_frames < queue_resize_delay_frames) 87 + { 88 + ++missed_frames; 89 + if (missed_frames >= queue_resize_delay_frames) 90 + extra_buffers = 1; 91 + } 92 + 93 + if (!client_behind && missed_frames > 0) 102 + if (missed_frames < queue_resize_delay_frames) 103 + --missed_frames;
It would be nice to have tests for the expected behavior of this piece of code.
« Back to merge proposal
Not a thorough review yet, looks good overall on a first pass.
86 + if (client_behind && missed_frames < queue_resize_ delay_frames) delay_frames) delay_frames)
87 + {
88 + ++missed_frames;
89 + if (missed_frames >= queue_resize_
90 + extra_buffers = 1;
91 + }
92 +
93 + if (!client_behind && missed_frames > 0)
102 + if (missed_frames < queue_resize_
103 + --missed_frames;
It would be nice to have tests for the expected behavior of this piece of code.