зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
41727dee14
Коммит
3ab124eaba
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче