[vlc-commits] qtcapture: fix 10.6 runtime support

Felix Paul Kühne git at videolan.org
Sat Jul 13 21:25:29 CEST 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 13 21:15:38 2013 +0200| [ae8b56e7c0759c7c4f793318f092d414231c913a] | committer: Felix Paul Kühne

qtcapture: fix 10.6 runtime support

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae8b56e7c0759c7c4f793318f092d414231c913a
---

 modules/access/qtcapture.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index b845180..c134b25 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -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



More information about the vlc-commits mailing list