[vlc-devel] [PATCH] configure: HAVE_AVCODEC_DXVA2 is set with AM_CONDITIONAL but never defined

Steve Lhomme robux4 at gmail.com
Mon Jun 1 14:49:29 CEST 2015


---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 6d5d0e2..23c2b44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2367,6 +2367,7 @@ AS_IF([test "${enable_dxva2}" != "no"], [
       [
         AC_CHECK_HEADERS(libavcodec/dxva2.h, [
            AC_MSG_NOTICE([DxVA2 acceleration activated])
+           AC_DEFINE(HAVE_AVCODEC_DXVA2, 1, [Define if the dxva2 module is built])
            have_avcodec_dxva2="yes"
         ],[
     AS_IF([test "${enable_dxva2}" = "yes"],
-- 
2.4.0




More information about the vlc-devel mailing list