summaryrefslogtreecommitdiff
path: root/firefox-disable-ffvpx-with-vapi.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-03-23 10:29:22 +0100
committerMartin Stransky <stransky@redhat.com>2021-03-23 10:29:22 +0100
commit91add2d4f7452bdf7e32923716e3004646cdb7dd (patch)
treee93e4d32675746905325c0f4771882a6ccdcc113 /firefox-disable-ffvpx-with-vapi.patch
parentEnabled arm (diff)
downloadlibrewolf-fedora-ff-91add2d4f7452bdf7e32923716e3004646cdb7dd.tar.gz
librewolf-fedora-ff-91add2d4f7452bdf7e32923716e3004646cdb7dd.tar.bz2
librewolf-fedora-ff-91add2d4f7452bdf7e32923716e3004646cdb7dd.zip
Updated to 87.0
Diffstat (limited to 'firefox-disable-ffvpx-with-vapi.patch')
-rw-r--r--firefox-disable-ffvpx-with-vapi.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/firefox-disable-ffvpx-with-vapi.patch b/firefox-disable-ffvpx-with-vapi.patch
new file mode 100644
index 0000000..3b706b7
--- /dev/null
+++ b/firefox-disable-ffvpx-with-vapi.patch
@@ -0,0 +1,29 @@
+diff -up firefox-87.0/dom/media/platforms/PDMFactory.cpp.ffvpx-with-vapi firefox-87.0/dom/media/platforms/PDMFactory.cpp
+--- firefox-87.0/dom/media/platforms/PDMFactory.cpp.ffvpx-with-vapi 2021-03-22 21:31:15.466328522 +0100
++++ firefox-87.0/dom/media/platforms/PDMFactory.cpp 2021-03-22 21:32:15.034156238 +0100
+@@ -462,12 +462,6 @@ void PDMFactory::CreateRddPDMs() {
+ CreateAndStartupPDM<AppleDecoderModule>();
+ }
+ #endif
+-#ifdef MOZ_FFVPX
+- if (StaticPrefs::media_ffvpx_enabled() &&
+- StaticPrefs::media_rdd_ffvpx_enabled()) {
+- CreateAndStartupPDM<FFVPXRuntimeLinker>();
+- }
+-#endif
+ #ifdef MOZ_FFMPEG
+ if (StaticPrefs::media_ffmpeg_enabled() &&
+ StaticPrefs::media_rdd_ffmpeg_enabled() &&
+@@ -477,6 +471,12 @@ void PDMFactory::CreateRddPDMs() {
+ mFailureFlags -= DecoderDoctorDiagnostics::Flags::FFmpegFailedToLoad;
+ }
+ #endif
++#ifdef MOZ_FFVPX
++ if (StaticPrefs::media_ffvpx_enabled() &&
++ StaticPrefs::media_rdd_ffvpx_enabled()) {
++ CreateAndStartupPDM<FFVPXRuntimeLinker>();
++ }
++#endif
+ CreateAndStartupPDM<AgnosticDecoderModule>();
+ }
+
bgstack15