thunderbird: properly resync patch
This commit is contained in:
parent
78212c28ac
commit
852f96644d
1 changed files with 2 additions and 3 deletions
|
@ -12,15 +12,14 @@ index 53fc3c9937f7..b23771ab80fa 100644
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
|
|
||||||
@@ -14,6 +15,11 @@ namespace mozilla {
|
@@ -14,6 +15,10 @@ namespace mozilla {
|
||||||
bool FlacDecoder::IsEnabled() {
|
bool FlacDecoder::IsEnabled() {
|
||||||
#ifdef MOZ_FFVPX
|
#ifdef MOZ_FFVPX
|
||||||
return StaticPrefs::media_flac_enabled();
|
return StaticPrefs::media_flac_enabled();
|
||||||
+#elif defined(MOZ_FFMPEG)
|
+#elif defined(MOZ_FFMPEG)
|
||||||
+ RefPtr<PDMFactory> platform = new PDMFactory();
|
+ RefPtr<PDMFactory> platform = new PDMFactory();
|
||||||
+ return StaticPrefs::media_flac_enabled() &&
|
+ return StaticPrefs::media_flac_enabled() &&
|
||||||
+ platform->SupportsMimeType("audio/flac"_ns,
|
+ platform->SupportsMimeType("audio/flac"_ns);
|
||||||
+ /* DecoderDoctorDiagnostics* */ nullptr);
|
|
||||||
#else
|
#else
|
||||||
// Until bug 1295886 is fixed.
|
// Until bug 1295886 is fixed.
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue