diff options
author | Matthew Hoops | 2012-07-21 17:31:00 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-07-21 17:31:00 -0400 |
commit | 24c97b89138190d211b1f19d5575c9029c0329b2 (patch) | |
tree | ba296e58377c28a71bfe16eb9745ae3d55da9cb1 /engines | |
parent | 5cdb0f71a499250d36d79d0f8ba85ff2d370f9aa (diff) | |
download | scummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.tar.gz scummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.tar.bz2 scummvm-rg350-24c97b89138190d211b1f19d5575c9029c0329b2.zip |
VIDEO: Move PSXStreamDecoder to the new VideoDecoder API
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sword1/animation.cpp | 1 | ||||
-rw-r--r-- | engines/sword2/animation.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index ddafd964eb..49c5ef7312 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -189,6 +189,7 @@ bool MoviePlayer::load(uint32 id) { // Need to load here in case it fails in which case we'd need // to go back to paletted mode if (_decoder->loadFile(filename)) { + ((Video::AdvancedVideoDecoder *)_decoder)->start(); // TODO: Remove after new API is complete return true; } else { initGraphics(g_system->getWidth(), g_system->getHeight(), true); diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 5e3f8929e9..c1cf33ff09 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -99,6 +99,7 @@ bool MoviePlayer::load(const char *name) { // Need to load here in case it fails in which case we'd need // to go back to paletted mode if (_decoder->loadFile(filename)) { + ((Video::AdvancedVideoDecoder *)_decoder)->start(); // TODO: Remove after new API is complete return true; } else { initGraphics(640, 480, true); |