diff options
author | Matthew Hoops | 2012-01-10 22:15:04 -0500 |
---|---|---|
committer | Willem Jan Palenstijn | 2012-02-23 22:48:18 +0100 |
commit | 66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b (patch) | |
tree | 37ee982ed7b485704bdfc0176d228bbeb5f522f1 /engines/sword1/animation.cpp | |
parent | ee35d32a362d58891fedff9843867397f2d4497b (diff) | |
download | scummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.tar.gz scummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.tar.bz2 scummvm-rg350-66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b.zip |
VIDEO: Make PSX streams calculate frame timing solely from CD speed
BS2 videos now play at the proper rate and BS1 videos have improved a/v sync.
Diffstat (limited to 'engines/sword1/animation.cpp')
-rw-r--r-- | engines/sword1/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 9e190e01d0..a1ace0f331 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -410,8 +410,8 @@ MoviePlayer *makeMoviePlayer(uint32 id, SwordEngine *vm, Text *textMan, ResMan * if (Common::File::exists(filename)) { #ifdef USE_RGB_COLOR - // All BS1 PSX videos seem to be 15fps - Video::VideoDecoder *psxDecoder = new Video::PSXStreamDecoder(15); + // All BS1 PSX videos run the videos at 2x speed + Video::VideoDecoder *psxDecoder = new Video::PSXStreamDecoder(Video::PSXStreamDecoder::kCD2x); return new MoviePlayer(vm, textMan, resMan, snd, system, bgSoundHandle, psxDecoder, kVideoDecoderPSX); #else GUI::MessageDialog dialog(Common::String::format(_("PSX stream cutscene '%s' cannot be played in paletted mode"), filename.c_str()), _("OK")); |