dxva2-Video_Decoder: Update configure check to make sure that libva exports vaQuerySurfaceAttributes.

This commit is contained in:
Sebastian Lackner 2015-02-22 05:14:20 +01:00
parent 282bb25d73
commit f354e38ec0

View File

@ -1,4 +1,4 @@
From b9c858be90ec481fbc0e44337b43712bc979845d Mon Sep 17 00:00:00 2001
From 731cfa0b6f332e689d7c1a2178373b5d7f3938bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 22 Feb 2015 01:25:20 +0100
Subject: dxva2: Initial implementation of MPEG2 decoder using vaapi backend.
@ -21,7 +21,7 @@ Subject: dxva2: Initial implementation of MPEG2 decoder using vaapi backend.
create mode 100644 dlls/dxva2/vaapi.c
diff --git a/configure.ac b/configure.ac
index 22b46ae..1a216ba 100644
index 22b46ae..db872d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,8 @@ AC_ARG_WITH(xxf86vm, AS_HELP_STRING([--without-xxf86vm],[do not use XFree vide
@ -41,7 +41,7 @@ index 22b46ae..1a216ba 100644
+ AC_CHECK_HEADERS([va/va_x11.h])
+ if test "$ac_cv_header_va_va_x11_h" = "yes"
+ then
+ WINE_CHECK_SONAME(va,vaRenderPicture,,,[$X_LIBS])
+ WINE_CHECK_SONAME(va,vaQuerySurfaceAttributes,,,[$X_LIBS])
+ WINE_CHECK_SONAME(va-x11,vaGetDisplay,,,[$X_LIBS -lva])
+ if test "x$ac_cv_lib_soname_va" != "x" -a "x$ac_cv_lib_soname_va_x11" != "x"
+ then
@ -2632,5 +2632,5 @@ index 46e431a..84222dc 100644
return E_NOINTERFACE;
}
--
2.1.0
2.3.0