diff options
Diffstat (limited to 'www/firefox/patches/patch-dom_media_flac_FlacDecoder.cpp')
-rw-r--r-- | www/firefox/patches/patch-dom_media_flac_FlacDecoder.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/www/firefox/patches/patch-dom_media_flac_FlacDecoder.cpp b/www/firefox/patches/patch-dom_media_flac_FlacDecoder.cpp deleted file mode 100644 index f2d22cb279e..00000000000 --- a/www/firefox/patches/patch-dom_media_flac_FlacDecoder.cpp +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-dom_media_flac_FlacDecoder.cpp,v 1.1 2018/01/24 16:52:08 ryoon Exp $ - ---- dom/media/flac/FlacDecoder.cpp.orig 2017-11-02 16:16:35.000000000 +0000 -+++ dom/media/flac/FlacDecoder.cpp -@@ -7,6 +7,7 @@ - #include "FlacDecoder.h" - #include "MediaContainerType.h" - #include "MediaPrefs.h" -+#include "PDMFactory.h" - - namespace mozilla { - -@@ -15,6 +16,10 @@ FlacDecoder::IsEnabled() - { - #ifdef MOZ_FFVPX - return MediaPrefs::FlacEnabled(); -+#elif defined(MOZ_FFMPEG) -+ RefPtr<PDMFactory> platform = new PDMFactory(); -+ return MediaPrefs::FlacEnabled() && platform->SupportsMimeType(NS_LITERAL_CSTRING("audio/flac"), -+ /* DecoderDoctorDiagnostics* */ nullptr); - #else - // Until bug 1295886 is fixed. - return false; |