Don't ignore loaded timecodes when converting frames to times for the subtitle renderer
This commit is contained in:
parent
57a253004d
commit
8fad077e88
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue