diff options
author | Einar Johan Trøan Sømåen | 2012-06-11 16:41:59 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-11 16:41:59 +0200 |
commit | 0b02dae394a6fa4828c22526a518accaacc8bd51 (patch) | |
tree | 86d315e48f6dad22b9faafc2c429cf11196c2a7b /engines | |
parent | a522aa5f6c6ec0e87f038cda9e6e50f13df41f8e (diff) | |
download | scummvm-rg350-0b02dae394a6fa4828c22526a518accaacc8bd51.tar.gz scummvm-rg350-0b02dae394a6fa4828c22526a518accaacc8bd51.tar.bz2 scummvm-rg350-0b02dae394a6fa4828c22526a518accaacc8bd51.zip |
WINTERMUTE: Let looping movies atleast stall at the end for now.
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; |