summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c
index 9ef371eb0d..d319778e07 100644
--- a/video/out/vo_drm.c
+++ b/video/out/vo_drm.c
@@ -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]);
}