aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video/video_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/video_decoder.cpp b/video/video_decoder.cpp
index 4ac914927e..5946a7d79c 100644
--- a/video/video_decoder.cpp
+++ b/video/video_decoder.cpp
@@ -200,7 +200,7 @@ uint32 AdvancedVideoDecoder::getTime() const {
uint32 time = ((const AudioTrack *)*it)->getRunningTime();
if (time != 0)
- return time + _audioStartOffset.msecs();
+ return time + (*it)->getStartTime().msecs() + _audioStartOffset.msecs();
}
}
}