summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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