From 645923f634de43d95fbfa1c37855e4c37d5682a7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 15 Jan 2013 01:00:07 +0100 Subject: vo_corevideo: make compile with recent changes Width and height were removed from mp_image. Use w and h instead. --- video/out/vo_corevideo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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) -- cgit v1.2.3