aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 00:42:30 +0000
committerSven Hesse2010-08-08 00:42:30 +0000
commit6172fe8ea7cf8046e5048e56a512ad0f847ac324 (patch)
tree207e7c5e3d83a77b548d3ff591f4f504807be203 /engines
parentf19be90c37c3aa402ea7efdc0fc02595fe68a122 (diff)
downloadscummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.tar.gz
scummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.tar.bz2
scummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.zip
VIDEO/GOB: Implement IMD frame decoding
Rendering the frame video data is still stubbed out. svn-id: r51866
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/videoplayer.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp
index 99ea4f0b02..174c3af506 100644
--- a/engines/gob/videoplayer.cpp
+++ b/engines/gob/videoplayer.cpp
@@ -365,7 +365,7 @@ void VideoPlayer::checkAbort(Video &video, Properties &properties) {
_vm->_util->processInput();
if (_vm->shouldQuit()) {
- // video.decoder->disableSound();
+ video.decoder->disableSound();
properties.canceled = true;
return;
@@ -377,7 +377,7 @@ void VideoPlayer::checkAbort(Video &video, Properties &properties) {
_vm->_inter->storeKey(_vm->_util->checkKey());
if (VAR(0) == (unsigned) properties.breakKey) {
- // video.decoder->disableSound();
+ video.decoder->disableSound();
// Seek to the last frame. Some scripts depend on that.
video.decoder->seek(properties.endFrame + 1, SEEK_SET, true);
@@ -571,12 +571,10 @@ int VideoPlayer::getNextFreeSlot() {
}
void VideoPlayer::evalBgShading(Video &video) {
- /*
- if (video.isSoundPlaying())
+ if (video.decoder->isSoundPlaying())
_vm->_sound->bgShade();
else
_vm->_sound->bgUnshade();
- */
}
Common::String VideoPlayer::findFile(const Common::String &file, Properties &properties) {