libgdx / gdx-video

A libGDX cross platform video rendering extension
Apache License 2.0
147 stars 50 forks source link

Desktop: Support high framerate videos and synchronize video to audio #95

Closed dasisdormax closed 3 weeks ago

dasisdormax commented 4 months ago

Similar to #85, this synchronizes the video to the audio and makes sure that the video timing still works when the window is resized. In addition, this fixes playback of high-fps video on slower monitors, by requesting multiple frames from the decoder if needed.

I tested with regular and silent video, but only on Mac so far.

Also: @Frosty-J, I am sorry for the collision with your PR.