aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-07-20 20:52:58 -0400
committerMatthew Hoops2012-07-20 20:52:58 -0400
commita12b3ea2dde9db348424f401a35fca3167120011 (patch)
tree2600ec4584e503f2cfead2d9c86c19d4d6ca1219 /engines/sci/console.cpp
parent818c16bdd09f4aa92c4a46de5256f28331c35cbb (diff)
downloadscummvm-rg350-a12b3ea2dde9db348424f401a35fca3167120011.tar.gz
scummvm-rg350-a12b3ea2dde9db348424f401a35fca3167120011.tar.bz2
scummvm-rg350-a12b3ea2dde9db348424f401a35fca3167120011.zip
SCI: Move the SEQ code to the new VideoDecoder API
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 564bbbbd79..2a4ad1743d 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -250,9 +250,8 @@ void Console::postEnter() {
#endif
if (_videoFile.hasSuffix(".seq")) {
- SeqDecoder *seqDecoder = new SeqDecoder();
- seqDecoder->setFrameDelay(_videoFrameDelay);
- videoDecoder = seqDecoder;
+ videoDecoder = new SEQDecoder(_videoFrameDelay);
+ ((Video::AdvancedVideoDecoder *)videoDecoder)->start(); // TODO: Remove after new API is complete
#ifdef ENABLE_SCI32
} else if (_videoFile.hasSuffix(".vmd")) {
videoDecoder = new Video::VMDDecoder(g_system->getMixer());