From 0bad0050ee58301f4a0af5c9a38afee0b70ea72c Mon Sep 17 00:00:00 2001 From: Besmir Beqiri Date: Thu, 17 Oct 2024 22:40:09 +0200 Subject: [PATCH] Revert at using WMF as JavaFX Media backend for Windows on the CI --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5fed125..52adda33 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,17 +48,18 @@ jobs: pulseaudio --start --exit-idle-time=-1 pacmd load-module module-null-sink sink_name=DummyOutput - - name: Install GStreamer (Windows) + - name: Enable Media Features (Windows) if: runner.os == 'Windows' shell: pwsh run: | - choco install gstreamer -y + Enable-WindowsOptionalFeature -Online -FeatureName MediaPlayback -All + Enable-WindowsOptionalFeature -Online -FeatureName ServerMediaFoundation -All - - name: Set JavaFX Media Backend to GStreamer + - name: Set JavaFX Media Backend to WMF (Windows) if: runner.os == 'Windows' shell: pwsh run: | - $env:JDK_JAVA_OPTIONS = "-Djfxmedia.platforms=GStreamer" + $env:JDK_JAVA_OPTIONS = "-Djfxmedia.platforms=Windows" - name: Compile run: |