[vlc-commits] qtcapture: fix 10.6 runtime support

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


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

qtcapture: fix 10.6 runtime support

(cherry picked from commit ae8b56e7c0759c7c4f793318f092d414231c913a)

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

 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