On Wed, 20 Jan 2016, Vittorio Giovara wrote:
---
Alternatively we could make configure fail. Opinions?
Vittorio
configure | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
What does "unsupported compiler" mean here? What actual setup does this
change?
diff --git a/configure b/configure
index 2d0573a..b7658fe 100755
--- a/configure
+++ b/configure
@@ -2430,7 +2430,7 @@ enable swscale_alpha
enable valgrind_backtrace
# By default, enable only those hwaccels that have no external dependencies.
-enable d3d11va dxva2 vda vdpau
+enable d3d11va dxva2 vdpau
# build settings
SHFLAGS='-shared -Wl,-soname,$$(@F)'
@@ -4447,6 +4447,13 @@ disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion
-lbz2 || disable bzlib
check_lib math.h sin -lm && LIBM="-lm"
enabled vaapi && require vaapi va/va.h vaInitialize -lva
+check_cc <<EOF && enable_weak vda
+#include <VideoDecodeAcceleration/VDADecoder.h>
+int main(void) {
+ CVPixelBufferRelease(NULL);
+ return 0;
+}
+EOF
Why does this need a separate explicit test, isn't it enough with the deps
on VideoDecodeAcceleration_VDADecoder_h?
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel