Romain Vimont a7cae59578 Improve delay buffer startup
The delay buffer clock estimates the clock offset between the PTS and
the frame decoded date using an "Exponentially Weighted Moving Average"
(EWMA).

But for the first frames, the clock have less than SC_CLOCK_RANGE
points to average. Since the timing for the first frames are typically
the worst ones, give more weight to the last point for the estimation.

Once SC_CLOCK_RANGE points are available (i.e. when SC_CLOCK_RANGE ==
clock->range), the new estimation is equivalent to the previous version.
2024-09-12 11:06:13 +02:00
..
2024-07-19 17:48:39 +02:00
2024-08-01 18:15:37 +02:00
2024-09-12 11:06:13 +02:00
2024-06-23 19:15:45 +02:00
2024-03-01 00:52:13 +01:00
2024-08-02 22:32:04 +02:00
2024-08-05 16:13:02 +02:00