Rob <[email protected]> writes:

> $subj
>
> Perhaps just an addition of a default "enable vaapi" line is required,
> I'm not sure. Too much very convenient and useful macro indirection
> for me to want to sink time into finding out. :)
>
> Regards,
> Rob
>
> From 35fc282ada2b8f130d0b4d541b5ff57fd36a1244 Mon Sep 17 00:00:00 2001
> From: Robert Swain <[email protected]>
> Date: Sun, 22 May 2011 10:14:30 +0200
> Subject: [PATCH] configure: Make vaapi configuration work
>
> It seems there is no --enable-vaapi and vaapi is not enabled by default.
> As such this commit adds a check for whether vaapi was disabled, and if
> not it enables it.
> ---
>  configure |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index b63330c..4abe7d5 100755
> --- a/configure
> +++ b/configure
> @@ -2857,6 +2857,9 @@ for thread in $THREADS_LIST; do
>  done
>  
>  check_lib math.h sin -lm && LIBM="-lm"
> +if ! disabled vaapi; then
> +    enable vaapi
> +fi
>  enabled vaapi && require vaapi va/va.h vaInitialize -lva

Why?  Doesn't --enable-vaapi do the trick?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to