vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Dec 21 
20:22:47 2016 +0100| [c30f4c6b0c22aa3c1288c10c2762cc82b1baab76] | committer: 
Jean-Baptiste Kempf

Videotoolbox: fix compilation for 10.8

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

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

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 54a42ba..3bbf035 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -59,7 +59,7 @@
 static int OpenDecoder(vlc_object_t *);
 static void CloseDecoder(vlc_object_t *);
 
-#if MAC_OS_X_VERSION_MAX_ALLOWED < 1090
+#if MAC_OS_X_VERSION_MIN_ALLOWED < 1090
 const CFStringRef 
kVTVideoDecoderSpecification_EnableHardwareAcceleratedVideoDecoder = 
CFSTR("EnableHardwareAcceleratedVideoDecoder");
 const CFStringRef 
kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder = 
CFSTR("RequireHardwareAcceleratedVideoDecoder");
 #endif

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to