summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2024-11-08 13:50:38 +0100
committerSimon Rettberg2024-11-08 13:50:38 +0100
commitd6ebd6880b5885f5a9fcaecae0d056351af8c470 (patch)
tree9c55216a8ad13610ee31c0bf21bb6c2cdb39d8be /core
parent[kiosk-chromium] Use is_on for bools (diff)
downloadmltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.tar.gz
mltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.tar.xz
mltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.zip
[kiosk-chromium] Add support for forcing hw video decode
Diffstat (limited to 'core')
-rw-r--r--core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
index d952563e..7c1ec57c 100644
--- a/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
+++ b/core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium
@@ -149,6 +149,9 @@ fi
if is_on "$SLX_BROWSER_INSECURE"; then
chromium_args+=( "--allow-running-insecure-content" "--ignore-certificate-errors" )
fi
+if is_on "$SLX_BROWSER_HWVIDEO"; then
+ chromium_args+=( "--enable-features=VaapiVideoDecoder,VaapiIgnoreDriverChecks,VaapiVideoDecodeLinuxGL" )
+fi
# Wait until cert store is fully populated
wait $nss_pid