aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video/video_decoder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/video/video_decoder.cpp b/video/video_decoder.cpp
index 14826642d7..559880acee 100644
--- a/video/video_decoder.cpp
+++ b/video/video_decoder.cpp
@@ -347,14 +347,14 @@ void VideoDecoder::start() {
_isPlaying = true;
_startTime = g_system->getMillis();
- // Adjust start time if we've seeked to something besides zero time
- if (_lastTimeChange.totalNumberOfFrames() != 0)
- _startTime -= _lastTimeChange.msecs();
-
// If someone previously called stop(), we'll rewind it.
if (_needsRewind)
rewind();
+ // Adjust start time if we've seeked to something besides zero time
+ if (_lastTimeChange.totalNumberOfFrames() != 0)
+ _startTime -= _lastTimeChange.msecs();
+
startAudio();
}