update WebMWriter.java

fix wrong cue generation
This commit is contained in:
kapodamy 2019-10-01 16:28:45 -03:00
parent 9339fc80b4
commit 94e23142a5
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; nextCueTime += DEFAULT_CUES_EACH_MS;
} }
keyFrames.add( keyFrames.add(
new KeyFrame(baseSegmentOffset, currentClusterOffset - 7, written, bTimecode.length, bloq.absoluteTimecode) new KeyFrame(baseSegmentOffset, currentClusterOffset - 8, written, bTimecode.length, bloq.absoluteTimecode)
); );
} }
} }