mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
7c58534f4f
In all my attempts to get the audio and video to sync up in the ZGI videos, there have always been 9-10 frames of video before the audio even starts, even though the audio is timestamped to start before. This attempts to fix that by prioritizing sending audio packets to the decoder in a timely fashion. I do not know if this is the correct way of doing this, and there are still some things that need to be fixed. But pragmatically, it does procude significantly better sync, so...