From 07ae018caacee778209c7b9b6463f7f29b5fe8e9 Mon Sep 17 00:00:00 2001 From: Cookie <52550063+Covkie@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:49:02 -0500 Subject: [PATCH] Update index.ts --- 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 b00927ac..f5bda1dc 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("AcceleratedVideoDecodeLinuxGL", "AcceleratedVideoEncoder", "AcceleratedVideoDecoder", "AcceleratedVideoDecodeLinuxZeroCopyGL"); + enabledFeatures.push( + "VaapiVideoDecodeLinuxGL", + "VaapiVideoEncoder", + "VaapiVideoDecoder", + "AcceleratedVideoDecodeLinuxZeroCopyGL" + ); } if (disableSmoothScroll) {