diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2017-10-30 21:47:20 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2017-10-30 21:47:20 +0000 |
commit | abc447c5251960dcace223027c123e63bf4f5261 (patch) | |
tree | 74717dfb5fc9567d091d08c66dbfca8aaf3150f3 /www/seamonkey | |
parent | d500059645b7bd20246d9aae4337ff81010220ee (diff) | |
download | ports-abc447c5251960dcace223027c123e63bf4f5261.tar.gz ports-abc447c5251960dcace223027c123e63bf4f5261.zip |
Notes
Diffstat (limited to 'www/seamonkey')
-rw-r--r-- | www/seamonkey/files/patch-bug1412558 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/www/seamonkey/files/patch-bug1412558 b/www/seamonkey/files/patch-bug1412558 index bf693800fa48..536162ba6edf 100644 --- a/www/seamonkey/files/patch-bug1412558 +++ b/www/seamonkey/files/patch-bug1412558 @@ -2,15 +2,25 @@ diff --git dom/media/flac/FlacDecoder.cpp dom/media/flac/FlacDecoder.cpp index 53fc3c9937f7..b23771ab80fa 100644 --- mozilla/dom/media/flac/FlacDecoder.cpp +++ mozilla/dom/media/flac/FlacDecoder.cpp -@@ -36,7 +36,7 @@ FlacDecoder::CreateStateMachine() - /* static */ bool - FlacDecoder::IsEnabled() +@@ -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 -+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX) + #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; diff --git media/ffvpx/README_MOZILLA media/ffvpx/README_MOZILLA index 5d3a6037efe0..43144b726a92 100644 --- mozilla/media/ffvpx/README_MOZILLA |