Reinhard Tartler <[email protected]> writes: > From: Gwenole Beauchesne <[email protected]> > > --- > configure | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > > diff --git a/configure b/configure > index cfd6331..92e00ad 100755 > --- a/configure > +++ b/configure > @@ -2930,7 +2930,13 @@ check_func XOpenDisplay -lX11 && > check_func XShmCreateImage -lX11 -lXext && > check_func XFixesGetCursorImage -lX11 -lXext -lXfixes > > -disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi > +if ! disabled vaapi; then > + check_lib va/va.h vaInitialize -lva && { > + check_cpp_condition va/va_version.h "VA_CHECK_VERSION(0,32,0)" || > + { echolog "Please upgrade to VA-API >= 0.32 if you would like VA-API > support." && > + disable vaapi; } > + } || disable vaapi > +fi
I don't like the look of that. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
