diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/video/VidTheoraPlayer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/wintermute/video/VidTheoraPlayer.cpp b/engines/wintermute/video/VidTheoraPlayer.cpp index 048027be2c..3171e6881f 100644 --- a/engines/wintermute/video/VidTheoraPlayer.cpp +++ b/engines/wintermute/video/VidTheoraPlayer.cpp @@ -446,7 +446,9 @@ HRESULT CVidTheoraPlayer::update() { int Counter = 0; if (_theoraDecoder) { - if (_theoraDecoder->endOfVideo()) { + if (_theoraDecoder->endOfVideo() && _looping) { + warning("Should loop movie"); + } else if (_theoraDecoder->endOfVideo() && !_looping) { warning("Finished movie"); _state = THEORA_STATE_FINISHED; _playbackStarted = false; |