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

View File

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