diff options
author | Einar Johan Trøan Sømåen | 2012-07-29 18:22:10 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-29 18:24:08 +0200 |
commit | 6b07218eb24e91865eee277758112e5bb4fecd97 (patch) | |
tree | 2b78f1bc62bc73b910a95063c57da690eac8b10a /engines/wintermute/video/video_theora_player.cpp | |
parent | 20e2ec4ff4d869ba54edf5b930d84340245292b6 (diff) | |
download | scummvm-rg350-6b07218eb24e91865eee277758112e5bb4fecd97.tar.gz scummvm-rg350-6b07218eb24e91865eee277758112e5bb4fecd97.tar.bz2 scummvm-rg350-6b07218eb24e91865eee277758112e5bb4fecd97.zip |
WINTERMUTE: Remove statics and silence spam in debug console.
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r-- | engines/wintermute/video/video_theora_player.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index ad99e24534..49ce333b63 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -36,6 +36,7 @@ #include "engines/wintermute/utils/utils.h" #include "engines/wintermute/platform_osystem.h" #include "engines/wintermute/video/decoders/theora_decoder.h" +#include "engines/wintermute/wintermute.h" #include "common/system.h" namespace WinterMute { @@ -264,10 +265,10 @@ bool VideoTheoraPlayer::update() { if (_theoraDecoder) { if (_theoraDecoder->endOfVideo() && _looping) { - warning("Should loop movie"); + warning("Should loop movie %s", _filename.c_str()); _theoraDecoder->rewind(); } else if (_theoraDecoder->endOfVideo() && !_looping) { - warning("Finished movie"); + debugC(kWinterMuteDebugLog, "Finished movie %s", _filename.c_str()); _state = THEORA_STATE_FINISHED; _playbackStarted = false; if (_freezeGame) { |