bestsource: Fix timecode computation

(derp.)

Fixes arch1t3cht/Aegisub#27.
This commit is contained in:
arch1t3cht 2023-02-13 13:34:08 +01:00
parent 15f4da61d3
commit 7485ae46a1
1 changed files with 1 additions and 1 deletions

View File

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