From 78d14ca68e5dd5b1255cf1ac5fc7b0a83ea2cf63 Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Date: Mon, 27 Jun 2022 22:55:37 +0100
Subject: [PATCH] etc/profile.d/reform.sh: enable harware acceleration in
 clapper

---
 etc/profile.d/reform.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/etc/profile.d/reform.sh b/etc/profile.d/reform.sh
index 5167c56..90e0c5d 100644
--- a/etc/profile.d/reform.sh
+++ b/etc/profile.d/reform.sh
@@ -7,4 +7,8 @@ export ETNA_MESA_DEBUG=nir
 # set GTK2 theme
 export GTK2_RC_FILES=/usr/share/themes/Arc-Dark/gtk-2.0/gtkrc
 
+# enable harware acceleration in clapper
+# https://github.com/Rafostar/clapper/wiki/Hardware-acceleration#mobile-devices-v4l2-codecs
+export GST_CLAPPER_USE_PLAYBIN3=1
+
 unicode_start
-- 
GitLab