diff options
author | Matthew Hoops | 2011-12-12 12:09:37 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-12-12 12:28:48 -0500 |
commit | 8cd55a11a07a1004bf14e63a42caad9e8039a36c (patch) | |
tree | a15b6ed436d5ff1910a55fdfbcb34fd0f37af808 /engines/mohawk/video.cpp | |
parent | b367772b5f6966ef99ea0914b8e10644b18652ea (diff) | |
download | scummvm-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.cpp | 9 |
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); |