diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:06:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-20 10:06:50 +0100 |
commit | f1e863a490ae20173210a53f516e146ebc677a36 (patch) | |
tree | c5e797f135ce19a0cc9a946219bd0bf424b25e8b /dom/media/DecoderDoctorDiagnostics.cpp | |
parent | 20e533f6b5595182f69560f50122a0873daaaafb (diff) | |
download | UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.gz UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.lz UXP-f1e863a490ae20173210a53f516e146ebc677a36.tar.xz UXP-f1e863a490ae20173210a53f516e146ebc677a36.zip |
Remove more Vista checks in dom/media
Diffstat (limited to 'dom/media/DecoderDoctorDiagnostics.cpp')
-rw-r--r-- | dom/media/DecoderDoctorDiagnostics.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dom/media/DecoderDoctorDiagnostics.cpp b/dom/media/DecoderDoctorDiagnostics.cpp index 91c2d8dfb..778e8c4c5 100644 --- a/dom/media/DecoderDoctorDiagnostics.cpp +++ b/dom/media/DecoderDoctorDiagnostics.cpp @@ -576,16 +576,9 @@ DecoderDoctorDocumentWatcher::SynthesizeAnalysis() // going through expected decoders from most to least desirable. #if defined(XP_WIN) if (!formatsRequiringWMF.IsEmpty()) { - if (IsVistaOrLater()) { - DD_INFO("DecoderDoctorDocumentWatcher[%p, doc=%p]::SynthesizeAnalysis() - unplayable formats: %s -> Cannot play media because WMF was not found", - this, mDocument, NS_ConvertUTF16toUTF8(formatsRequiringWMF).get()); - ReportAnalysis(mDocument, sMediaWMFNeeded, false, formatsRequiringWMF); - } else { - DD_INFO("DecoderDoctorDocumentWatcher[%p, doc=%p]::SynthesizeAnalysis() - unplayable formats: %s -> Cannot play media before Windows Vista", - this, mDocument, NS_ConvertUTF16toUTF8(formatsRequiringWMF).get()); - ReportAnalysis(mDocument, sMediaUnsupportedBeforeWindowsVista, - false, formatsRequiringWMF); - } + DD_INFO("DecoderDoctorDocumentWatcher[%p, doc=%p]::SynthesizeAnalysis() - unplayable formats: %s -> Cannot play media because WMF was not found", + this, mDocument, NS_ConvertUTF16toUTF8(formatsRequiringWMF).get()); + ReportAnalysis(mDocument, sMediaWMFNeeded, false, formatsRequiringWMF); return; } #endif |