configure: require vdpau version 0.6

Multimedia / VLC - Rémi Denis-Courmont [remlab.net] - 5 August 2013 11:17 UTC

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.

###

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).])

570edfe configure: require vdpau version 0.6
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.videolan.org


  • Share