summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-15 01:00:07 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-01-15 01:00:07 +0100
commit645923f634de43d95fbfa1c37855e4c37d5682a7 (patch)
tree217d36192afbff7adcd2f38ba40001f817b5520f /video
parenta3824d508e22f18dced18370e98cf75c863a5123 (diff)
downloadmpv-645923f634de43d95fbfa1c37855e4c37d5682a7.tar.bz2
mpv-645923f634de43d95fbfa1c37855e4c37d5682a7.tar.xz
vo_corevideo: make compile with recent changes
Width and height were removed from mp_image. Use w and h instead.
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)