1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-21 07:16:56 +00:00

vo_drm: Fix stride problem for certain devices

This commit is contained in:
Marcin Kurczewski 2015-05-28 20:57:13 +02:00 committed by wm4
parent dc2c7371f1
commit 5a1ef9d8db

View File

@ -505,7 +505,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi)
p->cur_frame->planes[0],
(p->dst.x1 - p->dst.x0) * 4,
p->dst.y1 - p->dst.y0,
p->device_w * 4,
front_buf->stride,
p->cur_frame->stride[0]);
}