From 532217bcee6ee33a189f71e6c37323442299c4e2 Mon Sep 17 00:00:00 2001 From: Tobia Tesan Date: Tue, 14 Oct 2014 23:00:11 +0200 Subject: WINTERMUTE: Reinstate subtitle loading --- engines/wintermute/video/video_theora_player.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/wintermute/video/video_theora_player.cpp') 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()) { -- cgit v1.2.3