diff options
author | Simon Rettberg | 2024-11-08 13:50:38 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-11-08 13:50:38 +0100 |
commit | d6ebd6880b5885f5a9fcaecae0d056351af8c470 (patch) | |
tree | 9c55216a8ad13610ee31c0bf21bb6c2cdb39d8be | |
parent | [kiosk-chromium] Use is_on for bools (diff) | |
download | mltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.tar.gz mltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.tar.xz mltk-d6ebd6880b5885f5a9fcaecae0d056351af8c470.zip |
[kiosk-chromium] Add support for forcing hw video decode
-rw-r--r-- | core/modules/kiosk-chromium/data/opt/openslx/scripts/kiosk-launch.d/00-chromium | 3 |
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 |