scummvm/video
sluicebox 48fb69b976 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:
ef184a6cef98a1756c0669a03fa9b6fa2386b6e7

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 at least Director and Mohawk
call 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.
2022-08-06 16:48:34 -04:00
..
3do_decoder.cpp
3do_decoder.h
avi_decoder.cpp
avi_decoder.h
bink_decoder.cpp
bink_decoder.h
binkdata.h
coktel_decoder.cpp
coktel_decoder.h
dxa_decoder.cpp
dxa_decoder.h
flic_decoder.cpp
flic_decoder.h
hnm_decoder.cpp
hnm_decoder.h
module.mk VIDEO: Implement decoder for PACo files 2022-02-21 19:11:28 +01:00
mpegps_decoder.cpp
mpegps_decoder.h
mve_decoder.cpp
mve_decoder.h
paco_decoder.cpp VIDEO: PACo decoder: skip lines in ouput 2022-03-07 18:56:00 +01:00
paco_decoder.h VIDEO: mark PACo method as override 2022-03-06 09:48:52 +02:00
psx_decoder.cpp JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
psx_decoder.h
qt_data.h
qt_decoder.cpp VIDEO: Fix QuickTime regression with mediaTime and dithering 2022-08-06 16:48:34 -04:00
qt_decoder.h VIDEO: Fix QuickTime regression with mediaTime and dithering 2022-08-06 16:48:34 -04:00
smk_decoder.cpp JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
smk_decoder.h JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03:00
theora_decoder.cpp
theora_decoder.h
video_decoder.cpp
video_decoder.h