mirror of
https://code.videolan.org/videolan/dav1d
synced 2026-08-12 12:33:41 +00:00
The current playback loop triggers a repaint on any single event, including spammy events such as SDL_MOUSEMOTION. Fix this by only repainting on SDL_WINDOWEVENT_EXPOSED, which is defined as the event sent when the window was damaged and needs to be repainted, as well as on new frames. Fixes https://code.videolan.org/videolan/dav1d/-/issues/356