aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r--engines/wintermute/video/video_player.cpp4
-rw-r--r--engines/wintermute/video/video_theora_player.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_player.cpp b/engines/wintermute/video/video_player.cpp
index ac16104268..464cbec7ff 100644
--- a/engines/wintermute/video/video_player.cpp
+++ b/engines/wintermute/video/video_player.cpp
@@ -217,11 +217,11 @@ bool VideoPlayer::update() {
DWORD CurrentTime; // current playing time (in ms)
/*
- if(m_SoundAvailable && m_Sound){
+ if (m_SoundAvailable && m_Sound){
CurrentTime = m_Sound->GetPosition(); // in samples
CurrentTime /= (m_Sound->m_Format.wf.nSamplesPerSec / 1000);
- if(!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime;
+ if (!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime;
}
else
CurrentTime = timeGetTime() - m_StartTime;
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 97fba01201..91703e40b7 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -547,7 +547,7 @@ bool VideoTheoraPlayer::update() {
// If playback has begun, top audio buffer off immediately.
- //if(m_Sound) WriteAudio();
+ //if (m_Sound) WriteAudio();
// are we at or past time for this video frame?
if (m_PlaybackStarted && m_VideoFrameReady && (!m_FrameRendered || m_VideobufTime <= GetMovieTime())) {