Bug 1305670 - Fix typo from SetA/VFormatNotSupport to SetA/V NotSupported r=gerald

MozReview-Commit-ID: 7kw8JPPlGcT

--HG--
extra : rebase_source : 26bb49d85e8b17d190cefcb6620e678be334f6ca
This commit is contained in:
James Cheng 2016-09-27 17:37:13 +08:00
Родитель 41727dee14
Коммит 3ab124eaba
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -82,8 +82,8 @@ public:
void SetGMPPDMFailedToStartup() { mGMPPDMFailedToStartup = true; }
bool DidGMPPDMFailToStartup() const { return mGMPPDMFailedToStartup; }
void SetVideoFormatNotSupport() { mVideoNotSupported = true; }
void SetAudioFormatNotSupport() { mAudioNotSupported = true; }
void SetVideoNotSupported() { mVideoNotSupported = true; }
void SetAudioNotSupported() { mAudioNotSupported = true; }
void SetGMP(const nsACString& aGMP) { mGMP = aGMP; }
const nsACString& GMP() const { return mGMP; }

Просмотреть файл

@ -238,9 +238,9 @@ PDMFactory::CreateDecoderWithPDM(PlatformDecoderModule* aPDM,
DecoderDoctorDiagnostics* diagnostics = aParams.mDiagnostics;
if (diagnostics) {
if (reason == SupportChecker::Result::kVideoFormatNotSupported) {
diagnostics->SetVideoFormatNotSupport();
diagnostics->SetVideoNotSupported();
} else if (reason == SupportChecker::Result::kAudioFormatNotSupported) {
diagnostics->SetAudioFormatNotSupport();
diagnostics->SetAudioNotSupported();
}
}
return nullptr;

Просмотреть файл

@ -178,7 +178,7 @@ H264Converter::CreateDecoder(DecoderDoctorDiagnostics* aDiagnostics)
if (spsdata.chroma_format_idc == 3 /*YUV444*/) {
mLastError = NS_ERROR_FAILURE;
if (aDiagnostics) {
aDiagnostics->SetVideoFormatNotSupport();
aDiagnostics->SetVideoNotSupported();
}
return NS_ERROR_FAILURE;
}