fix(mpv): avoid render stalls from video timing offset #6

Merged
tri merged 1 commits from fix/playlist-hover-jank-playback into main 2026-11-11 20:36:58 +07:00
Owner

mpvqt renders without disabling MPV_RENDER_PARAM_BLOCK_FOR_TARGET_TIME, so each new video frame blocks the Qt Quick render thread for up to video-timing-offset (50 ms). Animations over a playing video (playlist slide-in) stuttered; paused video was smooth. Set video-timing-offset=0.

Measured offscreen while toggling the playlist during playback: worst frame 35–39 ms before, 17–21 ms after.

mpvqt renders without disabling MPV_RENDER_PARAM_BLOCK_FOR_TARGET_TIME, so each new video frame blocks the Qt Quick render thread for up to video-timing-offset (50 ms). Animations over a playing video (playlist slide-in) stuttered; paused video was smooth. Set video-timing-offset=0. Measured offscreen while toggling the playlist during playback: worst frame 35–39 ms before, 17–21 ms after.
tri added 1 commit 2026-11-11 20:35:51 +07:00
tri merged commit 32c686e0e3 into main 2026-11-11 20:36:58 +07:00
tri deleted branch fix/playlist-hover-jank-playback 2026-11-11 20:36:58 +07:00
Sign in to join this conversation.