diff options
author | Matthew Hoops | 2012-12-13 17:46:02 -0500 |
---|---|---|
committer | Matthew Hoops | 2012-12-13 17:46:02 -0500 |
commit | 0bcd4414050e2b8571de0086c1820982ff886320 (patch) | |
tree | 2d046eb864fcf120dbb01cf02699509c39a39ea3 /video | |
parent | 7bbd26c9a85c797ac3d6bcced327b0301d84ca6f (diff) | |
download | scummvm-rg350-0bcd4414050e2b8571de0086c1820982ff886320.tar.gz scummvm-rg350-0bcd4414050e2b8571de0086c1820982ff886320.tar.bz2 scummvm-rg350-0bcd4414050e2b8571de0086c1820982ff886320.zip |
VIDEO: Fix seeking when playing with a custom rate
Diffstat (limited to 'video')
-rw-r--r-- | video/video_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/video_decoder.cpp b/video/video_decoder.cpp index 4d9f19cfd9..ab12cfd971 100644 --- a/video/video_decoder.cpp +++ b/video/video_decoder.cpp @@ -318,7 +318,7 @@ bool VideoDecoder::seek(const Audio::Timestamp &time) { // Also reset our start time if (isPlaying()) { startAudio(); - _startTime = g_system->getMillis() - time.msecs(); + _startTime = g_system->getMillis() - (time.msecs() / _playbackRate).toInt(); } resetPauseStartTime(); |