Skip to content

Commit 2001acc

Browse files
committed
increase time every frame
1 parent 0f9ce85 commit 2001acc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/cea608-parser.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,9 @@
834834
logger.setTime(t);
835835

836836
for (var i = 0 ; i < byteList.length ; i+=2) {
837+
t = this.lastTime + 1001 * (0.5 * i + 0) / 30000;
838+
logger.setTime(t);
839+
837840
a = byteList[i] & 0x7f;
838841
b = byteList[i+1] & 0x7f;
839842

0 commit comments

Comments
 (0)