Opened 3 years ago

Last modified 3 years ago

#12955 new defect

MYST3: Video speeds up after room transition — at Version 1

Reported by: eriktorbjorn Owned by:
Priority: normal Component: Engine: Myst3
Version: Keywords:
Cc: Game: Myst 3: Exile

Description (last modified by eriktorbjorn)

When a video is playing as part of a room background, it is paused during transitions between room but the sound (correctly, I assume) keeps playing. To compensate, the video speeds up briefly after each transition. This looks strange to me. It would probably be better if it skipped frames instead. Here is a quick-and-dirty experiment to do so:

diff --git a/engines/myst3/movie.cpp b/engines/myst3/movie.cpp
index bb163e82b8..00eee8832e 100644
--- a/engines/myst3/movie.cpp
+++ b/engines/myst3/movie.cpp
@@ -332,7 +332,7 @@ void ScriptedMovie::update() {
                        }
                }
 
-               if (!_scriptDriven && (_bink.needsUpdate() || _isLastFrame)) {
+               while (!_scriptDriven && (_bink.needsUpdate() || _isLastFrame)) {
                        bool complete = false;
 
                        if (_isLastFrame) {

But for one thing it may not be the best way to do so, and for another I'm afraid it would introduce frame skipping where it's not desired. As I said, it's just an experiment to see the difference.

I'm attaching a savegame of the part where I noticed this.

Change History (2)

by eriktorbjorn, 3 years ago

Attachment: BUGTEST.m3s added

comment:1 by eriktorbjorn, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.