• Justin Ruggles's avatar
    oggenc: add a page_duration option and deprecate the pagesize option · 59220d55
    Justin Ruggles authored
    This uses page duration instead of byte size to determine when to buffer
    the page. Also, it tries to avoid continued pages by buffering the current
    page if there are already packets in the page and adding the next packet
    would require it to be continued on a new page. This can improve seeking
    performance.
    
    The default page duration is 1 second, which is much saner than filling
    all page segments by default.
    59220d55
oggenc.c 20.4 KB