fix Video HWA wrongly being disabled if HWA setting was never changed

This commit is contained in:
Vendicated
2025-06-09 01:36:05 +02:00
parent f123f5fc3c
commit 83ad4970e5

View File

@@ -46,7 +46,7 @@ const SettingsOptions: Record<string, Array<BooleanSetting | SettingsComponent>>
description:
"Enable hardware video acceleration. This can improve performance of screenshare and video playback, but may cause graphical glitches and infinitely loading streams.",
defaultValue: false,
disabled: () => !Settings.store.hardwareAcceleration
disabled: () => Settings.store.hardwareAcceleration !== false
}
],
"User Interface": [