Commit 02681f75 authored by Jean-Paul Saman's avatar Jean-Paul Saman

configure.ac: select ffmpeg-1.2.1 release minimum for VDPAU hw acceleration support.

libavcodec version >= 54.92.100
libavutil  version >= 52.10.100
parent 97e7b030
...@@ -3157,13 +3157,13 @@ dnl AM_CONDITIONAL([HAVE_VDPAU], [test "${have_vdpau}" = "yes"]) ...@@ -3157,13 +3157,13 @@ dnl AM_CONDITIONAL([HAVE_VDPAU], [test "${have_vdpau}" = "yes"])
have_avcodec_vdpau="no" have_avcodec_vdpau="no"
AS_IF([test "${have_vdpau}" = "yes"], [ AS_IF([test "${have_vdpau}" = "yes"], [
PKG_CHECK_EXISTS([libavutil >= 0.52.4 libavcodec >= 54.36.0], [ PKG_CHECK_EXISTS([libavutil >= 52.10.100 libavcodec >= 54.92.100], [
have_avcodec_vdpau="yes" have_avcodec_vdpau="yes"
], [ ], [
AS_IF([test -n "${enable_vdpau}"], [ AS_IF([test -n "${enable_vdpau}"], [
AC_MSG_ERROR([libavutil >= 0.52.4 and libavcodec >= 54.36.0 are required for VDPAU decoding.]) AC_MSG_ERROR([libavutil >= 52.10.100 and libavcodec >= 54.92.100 are required for VDPAU decoding.])
], [ ], [
AC_MSG_WARN([libavutil >= 0.52.4 and libavcodec >= 54.36.0 are required for VDPAU decoding.]) AC_MSG_WARN([libavutil >= 52.10.100 and libavcodec >= 54.92.100 are required for VDPAU decoding.])
]) ])
]) ])
]) ])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment