]> git.sesse.net Git - vlc/commitdiff
qtcapture: fix 10.6 runtime support
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 13 Jul 2013 19:15:38 +0000 (21:15 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 13 Jul 2013 19:25:13 +0000 (21:25 +0200)
modules/access/qtcapture.m

index b8451807fae7ab256b8f50c60c65d24a3b26510f..c134b25aa41281ad6a8f33d9e414e0072faf0cc7 100644 (file)
@@ -347,7 +347,7 @@ static int Open(vlc_object_t *p_this)
         @(kCVPixelFormatType_422YpCbCr8), (id)kCVPixelBufferPixelFormatTypeKey,
         @(p_sys->height), kCVPixelBufferHeightKey,
         @(p_sys->width), kCVPixelBufferWidthKey,
-        @YES, (id)kCVPixelBufferOpenGLCompatibilityKey,
+        [NSNumber numberWithBool:YES], (id)kCVPixelBufferOpenGLCompatibilityKey,
         nil]];
     [p_sys->output setAutomaticallyDropsLateVideoFrames:YES];
     [p_sys->output setMinimumVideoFrameInterval: (1/25)]; // 25 fps