[vlc-commits] caopengllayer: fix compilation with earlier SDKs
Felix Paul Kühne
git at videolan.org
Tue Nov 15 15:54:54 CET 2016
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Nov 15 15:53:47 2016 +0100| [7d821b8eca306f8a953175eef727a91d85630cd2] | committer: Felix Paul Kühne
caopengllayer: fix compilation with earlier SDKs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d821b8eca306f8a953175eef727a91d85630cd2
---
modules/video_output/caopengllayer.m | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/caopengllayer.m b/modules/video_output/caopengllayer.m
index 7ad6cc5..f4ec98a 100644
--- a/modules/video_output/caopengllayer.m
+++ b/modules/video_output/caopengllayer.m
@@ -45,7 +45,9 @@
#define OSX_EL_CAPITAN (NSAppKitVersionNumber >= 1404)
-#if MAC_OS_X_VERSION_MAX_ALLOWED < 1011
+#ifndef MAC_OS_X_VERSION_10_11
+const CFStringRef kCGColorSpaceDCIP3 = CFSTR("kCGColorSpaceDCIP3");
+const CFStringRef kCGColorSpaceITUR_709 = CFSTR("kCGColorSpaceITUR_709");
const CFStringRef kCGColorSpaceITUR_2020 = CFSTR("kCGColorSpaceITUR_2020");
#endif
More information about the vlc-commits
mailing list