Skip to content

vo: wake up core when VO requests redraw#17293

Merged
kasper93 merged 1 commit intompv-player:masterfrom
na-na-hi:vo-redraw-fix
Jan 20, 2026
Merged

vo: wake up core when VO requests redraw#17293
kasper93 merged 1 commit intompv-player:masterfrom
na-na-hi:vo-redraw-fix

Conversation

@na-na-hi
Copy link
Contributor

a74a324 returned responsibility of video redraw back to playloop. The playloop is only run if something wakes up the core.

However, the logic for VO requested redraw only wakes up the core when in->want_redraw is false, which is only resetted by vo_redraw, called from the core. This creates a situation where it can never wake up the core, so redrawing never happens even when VO requests it.

efc44d0 caused the issue to surface because it also throttles VO requested redraws, and in some cases results in the above behavior.

Fix this by always waking up core when the VO requests redraw.

Fixes: #17292

a74a324 returned responsibility of video
redraw back to playloop. The playloop is only run if something wakes up
the core.

However, the logic for VO requested redraw only wakes up the core when
in->want_redraw is false, which is only resetted by vo_redraw, called
from the core. This creates a situation where it can never wake up the
core, so redrawing never happens even when VO requests it.

efc44d0 caused the issue to surface
because it also throttles VO requested redraws, and in some cases results
in the above behavior.

Fix this by always waking up core when the VO requests redraw.
Copy link
Member

@kasper93 kasper93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kasper93 kasper93 merged commit be5ed3b into mpv-player:master Jan 20, 2026
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing redraws when playback is paused

2 participants