1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Don't ignore loaded timecodes when converting frames to times for the subtitle renderer

This commit is contained in:
Thomas Goyne 2012-10-02 12:55:28 -07:00
parent 57a253004d
commit 8fad077e88

View File

@ -291,11 +291,11 @@ void VideoContext::JumpToTime(int ms, agi::vfr::Time end) {
}
void VideoContext::GetFrameAsync(int n) {
provider->RequestFrame(n, videoFPS.TimeAtFrame(n) / 1000.0);
provider->RequestFrame(n, TimeAtFrame(n) / 1000.0);
}
std::tr1::shared_ptr<AegiVideoFrame> VideoContext::GetFrame(int n, bool raw) {
return provider->GetFrame(n, videoFPS.TimeAtFrame(n) / 1000.0, raw);
return provider->GetFrame(n, TimeAtFrame(n) / 1000.0, raw);
}
int VideoContext::GetWidth() const {