From 66cd8bdd68d9e0d14e40c9f55c06f8ea9cf2006b Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 10 Jan 2012 22:15:04 -0500 Subject: 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. --- engines/sword1/animation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword1') 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")); -- cgit v1.2.3