update WebMWriter.java

fix wrong cue generation
This commit is contained in:
kapodamy 2019-10-01 16:28:45 -03:00
parent da052df106
commit 8a992d4c47
1 changed files with 1 additions and 1 deletions

View File

@ -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)
);
}
}