Skip to content

Commit c448dee

Browse files
committed
vo: always set request_redraw when player is paused
This fixes a rare race condition where render_frame clears request_redraw right before the player is paused.
1 parent 304426c commit c448dee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

video/out/vo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ void vo_set_paused(struct vo *vo, bool paused)
12281228
mp_mutex_lock(&in->lock);
12291229
if (in->paused != paused) {
12301230
in->paused = paused;
1231-
if (in->paused && in->dropped_frame) {
1231+
if (in->paused) {
12321232
in->request_redraw = true;
12331233
wakeup_core(vo);
12341234
}

0 commit comments

Comments
 (0)