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:
parent
dc2c7371f1
commit
5a1ef9d8db
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user