Write new Clusters every ~5MB or at most ~20 seconds.
commitdeba7cf56510f5a0cb06c09e13cd8ccd422ff6cc
authorNathan Caldwell <saintdev@gmail.com>
Tue, 29 Jul 2008 00:28:33 +0000 (28 18:28 -0600)
committerNathan Caldwell <saintdev@gmail.com>
Mon, 12 Jan 2009 04:33:00 +0000 (11 21:33 -0700)
tree3850646242a365fc019ec453d89bf854d3424af6
parent8cdcf09138c70ba4cc553401ec327b22d2d53042
Write new Clusters every ~5MB or at most ~20 seconds.
This reduces overhead when switching between tracks with vastly different timecodes.
Although it doesn't solve the problem, it alleviates the symptoms.
If we wait longer than 20 seconds we get an integer overflow that causes incorrect timecodes.
src/matroska.c