diff options
author | Marcin Kurczewski <mkurczew@gmail.com> | 2015-05-28 20:57:13 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-28 21:51:48 +0200 |
commit | 5a1ef9d8db9a8f9fa5670a94c265e806e30517f1 (patch) | |
tree | 0a8ff06a1cd08ce0c2a8f963ea4e2a4c7b8ad674 /video/out/vo_drm.c | |
parent | dc2c7371f17df42fb75d541b6adb9a11a33c5874 (diff) | |
download | mpv-5a1ef9d8db9a8f9fa5670a94c265e806e30517f1.tar.bz2 mpv-5a1ef9d8db9a8f9fa5670a94c265e806e30517f1.tar.xz |
vo_drm: Fix stride problem for certain devices
Diffstat (limited to 'video/out/vo_drm.c')
-rw-r--r-- | video/out/vo_drm.c | 2 |
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]); } |