mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-03 10:58:34 -06:00
Fix seeking with map to simulation time to be more exact
This commit is contained in:
@@ -507,7 +507,7 @@ void VideoTileProvider::renderMpv() {
|
||||
double time = correctVideoPlaybackTime();
|
||||
bool shouldSeek = abs(time - _currentVideoTime) > _seekThreshold;
|
||||
if (shouldSeek) {
|
||||
seekToTime(time);
|
||||
seekToTime(time - (2.0/_fps)); // We end up two frames too late
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user