There have been many releases since then: https://github.com/BrowserWorks/Waterfox/releases Changelogs: https://www.waterfox.net/docs/releases/G6.0.17/ This release is based on Firefox ESR 115. New maintainer: Martin Filla <freebsd@sysctl.cz> PR: 278672
24 lines
676 B
C++
24 lines
676 B
C++
Enable FLAC on platforms without ffvpx like powerpc*
|
|
|
|
--- dom/media/flac/FlacDecoder.cpp.orig 2021-04-15 19:44:28 UTC
|
|
+++ dom/media/flac/FlacDecoder.cpp
|
|
@@ -7,6 +7,7 @@
|
|
#include "FlacDecoder.h"
|
|
#include "MediaContainerType.h"
|
|
#include "mozilla/StaticPrefs_media.h"
|
|
+#include "PDMFactory.h"
|
|
|
|
namespace mozilla {
|
|
|
|
@@ -14,6 +15,10 @@ namespace mozilla {
|
|
bool FlacDecoder::IsEnabled() {
|
|
#ifdef MOZ_FFVPX
|
|
return StaticPrefs::media_flac_enabled();
|
|
+#elif defined(MOZ_FFMPEG)
|
|
+ RefPtr<PDMFactory> platform = new PDMFactory();
|
|
+ return StaticPrefs::media_flac_enabled() &&
|
|
+ !platform->SupportsMimeType("audio/flac"_ns).isEmpty();
|
|
#else
|
|
return false;
|
|
#endif
|