diff options
Diffstat (limited to 'graphics/video/dxa_player.cpp')
-rw-r--r-- | graphics/video/dxa_player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/video/dxa_player.cpp b/graphics/video/dxa_player.cpp index e228510e6b..397d1232da 100644 --- a/graphics/video/dxa_player.cpp +++ b/graphics/video/dxa_player.cpp @@ -25,6 +25,7 @@ #include "common/endian.h" #include "common/archive.h" +#include "common/system.h" #include "common/util.h" #include "graphics/video/dxa_player.h" @@ -476,6 +477,9 @@ void DXAPlayer::decode13(int size) { bool DXAPlayer::decodeNextFrame() { uint32 tag; + if (_videoInfo.currentFrame == 0) + _videoInfo.startTime = g_system->getMillis(); + tag = _fileStream->readUint32BE(); if (tag == MKID_BE('CMAP')) { byte rgb[768]; |