fixes FST timescale calculation
This commit is contained in:
parent
1b7d4c3ed6
commit
14425b9102
@ -36,7 +36,7 @@ class FstFileParser {
|
||||
// String version = FstLibrary.fstReaderGetVersionString(fst);
|
||||
long endTime = FstLibrary.fstReaderGetEndTime(fst);
|
||||
byte timeScale = FstLibrary.fstReaderGetTimescale(fst);
|
||||
builder.setMaxTime(endTime, -timeScale);
|
||||
builder.setMaxTime(endTime, timeScale);
|
||||
FstLibrary.fstReaderIterateHierRewind(fst);
|
||||
Pointer p = FstLibrary.fstReaderIterateHier(fst);
|
||||
while(p!=null && !p.equals(Pointer.NULL)) {
|
||||
|
Loading…
Reference in New Issue
Block a user