Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VIDEO: Fix QuickTime regression with mediaTime and dithering
Fixes an error when playing a QuickTime video that has a mediaTime set on its first edit. This was caused by mediaTime changes in: ef184a6 Those changes buffered frames during initialization so that the keyframe and other frames don't play instead of the intended start frame that mediaTime specifies. My mistake was that decoding isn't allowed during VideoDecoder::loadStream(); VideoDecoder::setDitheringPalette() requires that no frames have been decoded yet, and Director calls that. Now the initial mediaTime buffering is delayed until the first decode. Fixes bug #13479 where certain Myst videos error. Fixes the opening movie in the Director game Chop Suey.
- Loading branch information
Showing
2 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters