Opened 7 years ago

Closed 7 years ago

#9881 closed defect (fixed)

TITANIC: Brief freeze during intro credits cutscene

Reported by: dreammaster Owned by: dreammaster
Priority: normal Component: Engine: Titanic
Version: Keywords:
Cc: Game: Starship Titanic

Description

When playing the credits video, upon flying back into the embarkation lobby and turning round, the video freezes for 3-4 seconds whilst the music continues playing. The video then finishes playing to silence.

Change History (2)

comment:1 by dreammaster, 7 years ago

Okay, it seems like the original playCutscene method supported picking up from within a video from where a prior playCutscene finished (ie. it's ending frame is the new starting frame - 1). Whereas the ScummVM version always does an explicit seek to the starting frame for the cutscene. The problem with that, in this case, is that the video doesn't have a frame index in the AVI file. So when it tries to seek to the starting frame, it can't find the file offset for it, so it has to iterate through decoding each and every video frame from the start of the AVI file up to correct starting frame. Hence the sudden pause.

I'll look into ignoring the frame seek if the video is already at the correct frame.

comment:2 by dreammaster, 7 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.