From dae02ba1e5bd95fe03ec30b19c0e59dc276c6aee Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sat, 18 Feb 2023 20:46:50 +0100 Subject: [PATCH] for aarch64, enable use_v4l2_codec on fedora >=36 --- chromium.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chromium.spec b/chromium.spec index 8b69478..2c7ba41 100644 --- a/chromium.spec +++ b/chromium.spec @@ -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.