Commit 48fba020 authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/ffmpeg: fixed compilation for OSX and enable vda hardware acceleration by default

parent d32a6bc1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment