aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
diff options
context:
space:
mode:
authorTobia Tesan2014-10-14 23:00:11 +0200
committerTobia Tesan2014-10-15 19:50:50 +0200
commit532217bcee6ee33a189f71e6c37323442299c4e2 (patch)
tree46464134900595954389b31188849a6627f58869 /engines/wintermute/video/video_theora_player.cpp
parentd9d80db869b21e4625d445e4f00af6b03b09e6c8 (diff)
downloadscummvm-rg350-532217bcee6ee33a189f71e6c37323442299c4e2.tar.gz
scummvm-rg350-532217bcee6ee33a189f71e6c37323442299c4e2.tar.bz2
scummvm-rg350-532217bcee6ee33a189f71e6c37323442299c4e2.zip
WINTERMUTE: Reinstate subtitle loading
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index fc1571054c..205ebe5035 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -129,6 +129,10 @@ bool VideoTheoraPlayer::initialize(const Common::String &filename, const Common:
warning("VideoTheoraPlayer::initialize - Theora support not compiled in, video will be skipped: %s", filename.c_str());
return STATUS_FAILED;
#endif
+
+
+ _subtitler->LoadSubtitles(_filename.c_str(), subtitleFile.c_str());
+
_theoraDecoder->loadStream(_file);
if (!_theoraDecoder->isVideoLoaded()) {