Skip to content

Commit 4468534

Browse files
layercak3Dudemanguy
authored andcommitted
vo_dmabuf_wayland: request redraw on resize
Fixes panning the video while it's paused and the OSD isn't redrawing. wayland_common since c251293 requests redraw when there is a resize event so there was no issue with xdg resizing but that isn't applicable to resizing due to panscan options changing.
1 parent aa2dad0 commit 4468534

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

video/out/vo_dmabuf_wayland.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,8 @@ static void resize(struct vo *vo)
552552
vo->target_params->rotate = (vo->params->rotate % 90) * 90;
553553
vo->target_params->vflip = vo->params->vflip;
554554
mp_mutex_unlock(&vo->params_mutex);
555+
556+
vo->want_redraw = true;
555557
}
556558

557559
static bool draw_osd(struct vo *vo, struct mp_image *cur, double pts)

0 commit comments

Comments
 (0)