[vlc-commits] configure: require vdpau version 0.6

Rémi Denis-Courmont git at videolan.org
Mon Aug 5 18:44:36 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  5 19:16:33 2013 +0300| [570edfebfc0c415ec99db9dff5f6edf9b6528380] | committer: Rémi Denis-Courmont

configure: require vdpau version 0.6

This is not fool proof, as the run-time version is not checked.
But versions 0.4/0.5 crash due to a bug in the libvdpau DRI2 code.

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

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

diff --git a/configure.ac b/configure.ac
index 903a88e..570da72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3043,7 +3043,7 @@ AC_ARG_ENABLE(vdpau,
   [AS_HELP_STRING([--enable-vdpau], [VDPAU hardware support (default auto)])])
 have_vdpau="no"
 AS_IF([test "${enable_vdpau}" != "no"], [
-  PKG_CHECK_MODULES([VDPAU], [vdpau], [
+  PKG_CHECK_MODULES([VDPAU], [vdpau >= 0.6], [
     have_vdpau="yes"
     AS_IF([test "${no_x}" = "yes"], [
       AC_MSG_ERROR([VDPAU requires Xlib (X11).])



More information about the vlc-commits mailing list