summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_corevideo.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_corevideo.m b/video/out/vo_corevideo.m
index a31a2bd7b1..0166c8ac10 100644
--- a/video/out/vo_corevideo.m
+++ b/video/out/vo_corevideo.m
@@ -231,7 +231,7 @@ static void draw_image(struct vo *vo, mp_image_t *mpi)
mp_msg(MSGT_VO, MSGL_ERR,"[vo_corevideo] Failed to create OpenGL"
" texture Cache(%d)\n", error);
- error = CVPixelBufferCreateWithBytes(NULL, mpi->width, mpi->height,
+ error = CVPixelBufferCreateWithBytes(NULL, mpi->w, mpi->h,
p->pixelFormat, mpi->planes[0], mpi->stride[0],
NULL, NULL, NULL, &p->pixelBuffer);
if(error != kCVReturnSuccess)