From eddbe27c4db05fc53cbb5d8d7a79d9e0e4b8b725 Mon Sep 17 00:00:00 2001 From: Cookie <52550063+Covkie@users.noreply.github.com> Date: Sat, 1 Feb 2025 19:51:04 -0500 Subject: [PATCH] update hardware accel flags for chromium 131 (#1058) Co-authored-by: v --- src/main/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/index.ts b/src/main/index.ts index 4eb863d..e18d45d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -35,7 +35,12 @@ function init() { if (hardwareAcceleration === false) { app.disableHardwareAcceleration(); } else { - enabledFeatures.push("VaapiVideoDecodeLinuxGL", "VaapiVideoEncoder", "VaapiVideoDecoder"); + enabledFeatures.push( + "AcceleratedVideoDecodeLinuxGL", + "AcceleratedVideoEncoder", + "AcceleratedVideoDecoder", + "AcceleratedVideoDecodeLinuxZeroCopyGL" + ); } if (disableSmoothScroll) {