contrib/ffmpeg: fixed compilation for OSX and enable vda hardware acceleration by...
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 6 Mar 2013 15:24:07 +0000 (16:24 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 6 Mar 2013 15:40:54 +0000 (16:40 +0100)
contrib/src/ffmpeg/rules.mak

index 61477f8..db8e28c 100644 (file)
@@ -46,7 +46,7 @@ endif
 
 ifdef HAVE_CROSS_COMPILE
 FFMPEGCONF += --enable-cross-compile
-ifndef HAVE_IOS
+ifndef HAVE_DARWIN_OS
 FFMPEGCONF += --cross-prefix=$(HOST)-
 endif
 endif
@@ -89,6 +89,9 @@ ifeq ($(ARCH),arm)
 FFMPEGCONF += --enable-pic --as="$(AS)"
 endif
 endif
+ifdef HAVE_MACOSX
+FFMPEGCONF += --enable-vda
+endif
 
 # Linux
 ifdef HAVE_LINUX