From 2a3dac86384b4d71e536910f5fb6b322f3072df7 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 5 Aug 2010 11:10:44 +0200 Subject: [PATCH] Fix check for VAAPI enabled without suitable FFmpeg/VAAPI. --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 9a672f1..7ce907c 100644 --- a/configure.ac +++ b/configure.ac @@ -1146,7 +1146,7 @@ AC_ARG_ENABLE(hwaccel, dnl Until the hwaccel patches in ffmpeg wind up in the ffmpeg-plugin, dnl restrict using HW Accel to using ffmpeg directly. -if test x"${build_media_ffmpeg}" = x"no" -a x"${build_vaapi}" = x"yes" -a x"${have_ffmpeg_vaapi}" = x"yes"; then +if test x"${build_vaapi}" = x"yes" -a "(" x"${build_media_ffmpeg}" != x"yes" -o x"${have_ffmpeg_vaapi}" != x"yes" ")"; then AC_MSG_ERROR(["Hardware acceleration currently not supported unless using ffmpeg."]) fi -- 1.5.4.3