[vlc-devel] commit: --disable-avcodec implies --disable-dxva2 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Jan 9 11:12:18 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan  9 12:10:13 2010 +0200| [e7514176b569f2a1ba65126279cec7f63edbd768] | committer: Rémi Denis-Courmont 

--disable-avcodec implies --disable-dxva2

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7514176b569f2a1ba65126279cec7f63edbd768
---

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 431c6a6..6efa99b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3010,7 +3010,9 @@ AS_IF([test "${enable_dxva2}" != "no"], [
               [AC_MSG_WARN([dxva2api.h not found])])
       ])
   ],[
-    AC_MSG_ERROR([dxva2 support depends on libavcodec. You cannot use --disable-avcodec.])
+    AS_IF([test "x${enable_dxva2}" != "x"], [
+      AC_MSG_ERROR([--enable-dxva2 and --disable-avcodec options are mutually exclusive.])
+    ])
   ])
   fi
 ])




More information about the vlc-devel mailing list