From e692554eb98d8471f36878cc1cd1b62ac9231016 Mon Sep 17 00:00:00 2001
From: LinkBoi00 <linkdevel@protonmail.com>
Date: Wed, 9 Mar 2022 22:04:41 -0300
Subject: veux: overlay: Switch to AVC 3.1 for screen recording

In weaker SOCs, AVC 3.1 seems to pull less load on the CPU/GPU
and therefore using it has performance advantages in screen recording
---
 rro_overlays/FrameworksResOverlayVeux/res/values/config.xml | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'rro_overlays')

diff --git a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
index 22f160c..75ac006 100644
--- a/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
+++ b/rro_overlays/FrameworksResOverlayVeux/res/values/config.xml
@@ -845,4 +845,9 @@
     <!-- Enable video pause workaround when enabling/disabling the camera. -->
     <bool name="config_useVideoPauseWorkaround">true</bool>
 
+    <!-- If not empty, sets the AVC codec profile level used for the internal screen recorder.
+         Possible values: 3, 3.1, 3.2, 4, 4.1, 4.2
+    -->
+    <string name="config_screenRecorderAVCProfileLevel" translatable="false">3.1</string>
+    
 </resources>
-- 
cgit v1.2.3