mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
vo_drm: Fix stride problem for certain devices
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user