for aarch64, enable use_v4l2_codec on fedora >=36

This commit is contained in:
Than Ngo 2023-02-18 20:46:50 +01:00
parent 699b245c27
commit dae02ba1e5
1 changed files with 2 additions and 0 deletions

View File

@ -79,9 +79,11 @@
# enable v4l2 and disable vaapi for aarch64 platform
%ifarch aarch64
%if 0%{?fedora} >= 36
%global use_vaapi 0
%global use_v4l2_codec 1
%endif
%endif
# Seems like we might need this sometimes
# Practically, no. But it's here in case we do.