mirror of https://github.com/odrling/Aegisub
bestsource: Fix timecode computation
(derp.) Fixes arch1t3cht/Aegisub#27.
This commit is contained in:
parent
15f4da61d3
commit
7485ae46a1
|
@ -147,7 +147,7 @@ BSVideoProvider::BSVideoProvider(agi::fs::path const& filename, std::string cons
|
|||
Keyframes.push_back(n);
|
||||
}
|
||||
|
||||
TimecodesVector.push_back(frame->Pts * properties.TimeBase.Den / properties.TimeBase.Num);
|
||||
TimecodesVector.push_back(1000 * frame->Pts * properties.TimeBase.Num / properties.TimeBase.Den);
|
||||
ps->SetProgress(n, properties.NumFrames);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue