disable vaapi on EL7, libva is too old

This commit is contained in:
Tom spot Callaway 2021-01-21 09:13:12 -05:00
parent c41b4ff221
commit e375c4095d
1 changed files with 6 additions and 1 deletions

View File

@ -31,8 +31,13 @@
# This doesn't work and it doesn't even build as of Chromium 83
%global build_remoting 1
# We'd like to always have this on.
# We'd like to always have this on...
# ... but the libva in EL7 is too old.
%if 0%{?rhel} == 7
%global use_vaapi 0
%else
%global use_vaapi 1
%endif
# Seems like we might need this sometimes
# Practically, no. But it's here in case we do.