Skip to content
Snippets Groups Projects
Commit a126b67e authored by Mark Thompson's avatar Mark Thompson
Browse files

configure: Add config option for libva2 (VAAPI 1)

parent 94ab0bef
No related branches found
No related tags found
No related merge requests found
...@@ -1650,6 +1650,7 @@ SYSTEM_FUNCS=" ...@@ -1650,6 +1650,7 @@ SYSTEM_FUNCS="
SYSTEM_LIBRARIES=" SYSTEM_LIBRARIES="
sdl sdl
vaapi_1
vaapi_drm vaapi_drm
vaapi_x11 vaapi_x11
vdpau_x11 vdpau_x11
...@@ -4834,6 +4835,10 @@ enabled vaapi && ...@@ -4834,6 +4835,10 @@ enabled vaapi &&
enabled vaapi && enabled vaapi &&
check_lib vaapi_x11 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 -lX11 check_lib vaapi_x11 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 -lX11
enabled vaapi &&
check_cpp_condition "va/va.h" "VA_CHECK_VERSION(1, 0, 0)" &&
enable vaapi_1
enabled vdpau && enabled vdpau &&
check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
disable vdpau disable vdpau
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment