• Fiona Glaser's avatar
    Improve HRD accuracy · 5a57688f
    Fiona Glaser authored
    In a staggering display of brain damage, the spec requires all HRD math to be done in infinite precision despite the output being of quite limited precision.
    Accordingly, convert buffer management to work in units of timescale.
    These accumulating rounding errors probably didn't cause any real problems, but might in theory cause issues in very picky muxers on extremely long-running streams.
ratecontrol.c 101 KB