• Ilkka Ollakka's avatar
    avcodec: split encoding chunks to frame_size portions · 6d6342b4
    Ilkka Ollakka authored
    avcodec contains codecs that don't like variable size frames, so feed
    avcodec with frame_size chunks and and handle leftovers ourself. This
    functionality was dropped when flushing was introduced and seemed to
    work without just fine, I was proven wrong.
    6d6342b4
encoder.c 42.7 KB