aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/video.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-12-12 12:09:37 -0500
committerMatthew Hoops2011-12-12 12:28:48 -0500
commit8cd55a11a07a1004bf14e63a42caad9e8039a36c (patch)
treea15b6ed436d5ff1910a55fdfbcb34fd0f37af808 /engines/mohawk/video.cpp
parentb367772b5f6966ef99ea0914b8e10644b18652ea (diff)
downloadscummvm-rg350-8cd55a11a07a1004bf14e63a42caad9e8039a36c.tar.gz
scummvm-rg350-8cd55a11a07a1004bf14e63a42caad9e8039a36c.tar.bz2
scummvm-rg350-8cd55a11a07a1004bf14e63a42caad9e8039a36c.zip
MOHAWK: Fix Stoneship's hologram projector
Diffstat (limited to 'engines/mohawk/video.cpp')
-rw-r--r--engines/mohawk/video.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp
index cd8fc8ef80..7958906897 100644
--- a/engines/mohawk/video.cpp
+++ b/engines/mohawk/video.cpp
@@ -529,6 +529,15 @@ void VideoManager::setVideoBounds(VideoHandle handle, Audio::Timestamp start, Au
_videoStreams[handle]->seekToTime(start);
}
+void VideoManager::drawVideoFrame(VideoHandle handle, Audio::Timestamp time) {
+ assert(handle != NULL_VID_HANDLE);
+ _videoStreams[handle].end = Audio::Timestamp(0xffffffff, 1);
+ _videoStreams[handle]->seekToTime(time);
+ updateMovies();
+ delete _videoStreams[handle].video;
+ _videoStreams[handle].clear();
+}
+
void VideoManager::seekToTime(VideoHandle handle, Audio::Timestamp time) {
assert(handle != NULL_VID_HANDLE);
_videoStreams[handle]->seekToTime(time);