update WebMWriter.java

fix wrong cue generation
This commit is contained in:
kapodamy committed 2019-11-26 10:46:29 -03:00
1 parent da052df106
commit 8a992d4c47
1 file changed
+1 -1
@@ -249,7 +249,7 @@ public class WebMWriter implements Closeable {
nextCueTime += DEFAULT_CUES_EACH_MS;
}
keyFrames.add(
new KeyFrame(baseSegmentOffset, currentClusterOffset - 7, written, bTimecode.length, bloq.absoluteTimecode)
new KeyFrame(baseSegmentOffset, currentClusterOffset - 8, written, bTimecode.length, bloq.absoluteTimecode)
);
}
}