diff options
author | Martin Stransky <stransky@redhat.com> | 2021-03-23 10:31:39 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-03-23 10:31:39 +0100 |
commit | cd5875a817d399f45dd271788820dbd224e251b3 (patch) | |
tree | e93e4d32675746905325c0f4771882a6ccdcc113 /firefox-disable-ffvpx-with-vapi.patch | |
parent | Merge branch 'main' into f34 (diff) | |
parent | Updated to 87.0 (diff) | |
download | librewolf-fedora-ff-cd5875a817d399f45dd271788820dbd224e251b3.tar.gz librewolf-fedora-ff-cd5875a817d399f45dd271788820dbd224e251b3.tar.bz2 librewolf-fedora-ff-cd5875a817d399f45dd271788820dbd224e251b3.zip |
Merge branch 'main' into f34
Diffstat (limited to 'firefox-disable-ffvpx-with-vapi.patch')
-rw-r--r-- | firefox-disable-ffvpx-with-vapi.patch | 29 |
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>(); + } + |