1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-24 09:00:31 +00:00

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

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