Use a compile test for EGL support

This commit is contained in:
Cameron Gutman
2020-05-15 16:46:03 -07:00
parent a1b74e1220
commit c4039a929c
4 changed files with 16 additions and 5 deletions
+1 -5
View File
@@ -90,10 +90,6 @@ unix:!macx {
CONFIG += libva
}
packagesExist(egl) {
CONFIG += egl
}
packagesExist(vdpau) {
CONFIG += libvdpau
}
@@ -268,7 +264,7 @@ libdrm {
SOURCES += streaming/video/ffmpeg-renderers/drm.cpp
HEADERS += streaming/video/ffmpeg-renderers/drm.h
}
egl {
config_EGL {
message(EGL renderer selected)
DEFINES += HAVE_EGL