Skip to content

Commit

Permalink
Remove buggy VA-API on Linux flag (FreeTubeApp#6489)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored and Alban Dumas committed Jan 24, 2025
1 parent 3a9e766 commit 527c2e3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,6 @@ function runApp() {
let mainWindow
let startupUrl

if (process.platform === 'linux') {
// Enable hardware acceleration via VA-API with OpenGL if no other feature flags are found
// https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/vaapi.md
if (!app.commandLine.hasSwitch('enable-features')) {
app.commandLine.appendSwitch('enable-features', 'VaapiVideoDecodeLinuxGL')
}
}

const userDataPath = app.getPath('userData')

// command line switches need to be added before the app ready event first
Expand Down

0 comments on commit 527c2e3

Please sign in to comment.