diff options
author | Sven Hesse | 2011-01-20 18:17:39 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-20 18:17:39 +0000 |
commit | bb6c230587c65c92e1719809977e4625322dd2cb (patch) | |
tree | 7996d697e65930248da1113274b2abad2c87f222 /graphics/video | |
parent | 03415868b07cedd956185c5f5a56ff2daf09c735 (diff) | |
download | scummvm-rg350-bb6c230587c65c92e1719809977e4625322dd2cb.tar.gz scummvm-rg350-bb6c230587c65c92e1719809977e4625322dd2cb.tar.bz2 scummvm-rg350-bb6c230587c65c92e1719809977e4625322dd2cb.zip |
GOB: Implement looping live videos
Needed for the buttons in the Playtoons series
svn-id: r55359
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index d95f4a89c0..1590db920b 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -1562,6 +1562,7 @@ bool VMDDecoder::seek(int32 frame, int whence, bool restart) { // Seek _stream->seek(_frames[frame + 1].offset); _curFrame = frame; + _startTime = g_system->getMillis() - ((frame + 2) * getStaticTimeToNextFrame()); _subtitle = -1; |