diff options
author | Matthew Hoops | 2011-01-14 13:01:57 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-01-14 13:01:57 +0000 |
commit | 8ce55fbcde93149bb7644c4fe3c1def8cebe4908 (patch) | |
tree | 0f76754b114faa3858d59a991a0ec0b019dd8999 /graphics/video/video_decoder.h | |
parent | 06acd962440ea25c40cd890aab984aeeaba2de45 (diff) | |
download | scummvm-rg350-8ce55fbcde93149bb7644c4fe3c1def8cebe4908.tar.gz scummvm-rg350-8ce55fbcde93149bb7644c4fe3c1def8cebe4908.tar.bz2 scummvm-rg350-8ce55fbcde93149bb7644c4fe3c1def8cebe4908.zip |
VIDEO: Reset the pause start time when seeking while paused
svn-id: r55239
Diffstat (limited to 'graphics/video/video_decoder.h')
-rw-r--r-- | graphics/video/video_decoder.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/video/video_decoder.h b/graphics/video/video_decoder.h index 3d24572818..402bcfe751 100644 --- a/graphics/video/video_decoder.h +++ b/graphics/video/video_decoder.h @@ -176,6 +176,11 @@ protected: */ virtual void addPauseTime(uint32 ms) { _startTime += ms; } + /** + * Reset the pause start time (which should be called when seeking) + */ + void resetPauseStartTime(); + int32 _curFrame; int32 _startTime; |