Commit f9c215e2 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne

vaapi: move configure check down.

parent 39530272
...@@ -2846,7 +2846,6 @@ done ...@@ -2846,7 +2846,6 @@ done
check_lib math.h sin -lm check_lib math.h sin -lm
disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
check_mathfunc exp2 check_mathfunc exp2
check_mathfunc exp2f check_mathfunc exp2f
...@@ -2946,6 +2945,8 @@ check_func XOpenDisplay -lX11 && ...@@ -2946,6 +2945,8 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext && check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
if ! disabled vdpau && enabled vdpau_vdpau_h; then if ! disabled vdpau && enabled vdpau_vdpau_h; then
check_cpp_condition \ check_cpp_condition \
vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
......
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