Skip to content

Commit 72b695f

Browse files
committed
vo_kitty: initialize display_par
Fixes: mpv-player#15810
1 parent 22620af commit 72b695f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

video/out/vo_kitty.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
268268
mp_image_clear(p->frame, 0, 0, p->width, p->height);
269269
}
270270

271-
struct mp_osd_res res = { .w = p->width, .h = p->height };
271+
struct mp_osd_res res = { .w = p->width, .h = p->height, display_par = 1.0 };
272272
osd_draw_on_image(vo->osd, res, mpi ? mpi->pts : 0, 0, p->frame);
273273

274274

0 commit comments

Comments
 (0)