diff options
author | Einar Johan Trøan Sømåen | 2014-04-17 11:21:33 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2014-04-17 11:21:33 +0200 |
commit | 4904554bb6ddd250de6bcb356b5660c9c57b5a2b (patch) | |
tree | 7017719a894008e084a35910c4b3eaaec1509f3a | |
parent | 3377784b35c2da6634c76eaf3693b38554e05d5a (diff) | |
download | scummvm-rg350-4904554bb6ddd250de6bcb356b5660c9c57b5a2b.tar.gz scummvm-rg350-4904554bb6ddd250de6bcb356b5660c9c57b5a2b.tar.bz2 scummvm-rg350-4904554bb6ddd250de6bcb356b5660c9c57b5a2b.zip |
WINTERMUTE: Add a warning when trying to play video without Theoradec-support
-rw-r--r-- | engines/wintermute/video/video_theora_player.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp index b0c469c440..e1553580ec 100644 --- a/engines/wintermute/video/video_theora_player.cpp +++ b/engines/wintermute/video/video_theora_player.cpp @@ -127,6 +127,7 @@ bool VideoTheoraPlayer::initialize(const Common::String &filename, const Common: #if defined (USE_THEORADEC) _theoraDecoder = new Video::TheoraDecoder(); #else + warning("VideoTheoraPlayer::initialize - Theora support not compiled in, video will be skipped: %s", filename.c_str()); return STATUS_FAILED; #endif _theoraDecoder->loadStream(_file); |