• Fiona Glaser's avatar
    Fix two bugs in 2-pass ratecontrol · f30aed6d
    Fiona Glaser authored
    last_qscale_for wasn't set during the 2pass init code.
    abr_buffer was way too small in the case of multiple threads, so accordingly increase its buffer size based on the number of threads.
    May significantly increase quality with many threads in 2-pass mode, especially in cases with extremely large I-frames, such as anime.