From 4904554bb6ddd250de6bcb356b5660c9c57b5a2b Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Thu, 17 Apr 2014 11:21:33 +0200 Subject: WINTERMUTE: Add a warning when trying to play video without Theoradec-support --- engines/wintermute/video/video_theora_player.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/wintermute') 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); -- cgit v1.2.3