• Dale Curtis's avatar
    matroska: Add incremental parsing of clusters. · 8336eb6f
    Dale Curtis authored
    Reduces the amount of upfront data required for cluster parsing
    thus decreasing latency on seek and startup.
    
    The change in the seek-lavf_mkv FATE test is due to incremental
    parsing no longer reading as much data as the old parser and
    thus not having that additional data to generate index entries
    based on keyframes.  Index entries are added correctly as the
    file is parsed.
    
    All FATE tests pass and Chrome has been using this patch for ~6
    months without issue.
    
    Currently incremental parsing is not supported for files with
    SSA tracks since they require merging packets between clusters.
    In this case the code falls back to non-incremental parsing.
    Signed-off-by: 's avatarAaron Colwell <acolwell@chromium.org>
    Signed-off-by: 's avatarDale Curtis <dalecurtis@chromium.org>
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    8336eb6f
Name
Last commit
Last update
..
fate Loading commit data...
ref Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
codec-regression.sh Loading commit data...
fate-run.sh Loading commit data...
fate.sh Loading commit data...
lavf-regression.sh Loading commit data...
lavfi-regression.sh Loading commit data...
lena.pnm Loading commit data...
md5.sh Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
tiny_psnr.c Loading commit data...
videogen.c Loading commit data...