On Sun, Apr 03, 2011 at 22:18:54 (CEST), Måns Rullgård wrote: > 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.
How to write it so that it matches your taste? However, I'd prefer to not make taste alone a reason to diverge from FFmpeg. -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
