[Scummvm-tracker] [ScummVM] #9881: TITANIC: Brief freeze during intro credits cutscene
Paul Gilbert
trac at scummvm.org
Thu Jul 13 17:36:22 CEST 2017
#9881: TITANIC: Brief freeze during intro credits cutscene
-------------------------------+-----------------------------
Reporter: dreammaster | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Titanic
Resolution: | Keywords:
Game: Starship Titanic |
-------------------------------+-----------------------------
Comment (by dreammaster):
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.
--
Ticket URL: <https://bugs.scummvm.org/ticket/9881#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list