diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2012-04-19 11:12:24 -0700 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-04-22 17:23:50 -0700 |
commit | 8336eb6f85e4b94b9c198b16bd0ac4178f4dba86 (patch) | |
tree | b7bf84ad49f9b3f700127a9e8514efd595a760ac /libavformat/gxfenc.c | |
parent | 1381081cdb5999892d69f2ff010cf9371bfc7978 (diff) | |
download | ffmpeg-8336eb6f85e4b94b9c198b16bd0ac4178f4dba86.tar.gz |
matroska: Add incremental parsing of clusters.
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: Aaron Colwell <acolwell@chromium.org>
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/gxfenc.c')
0 files changed, 0 insertions, 0 deletions