Bug 1291742 - [Part2] Report to decoder doctor. r?jya
MozReview-Commit-ID: AD7wgSczCZU
--- a/dom/media/platforms/wrappers/H264Converter.cpp
+++ b/dom/media/platforms/wrappers/H264Converter.cpp
@@ -147,16 +147,22 @@ H264Converter::CreateDecoder(DecoderDoct
mTaskQueue,
mCallback,
aDiagnostics,
mImageContainer,
mLayersBackend,
mGMPCrashHelper
});
+ // TODO: Set not supported information fo decoder doctor.
+ // Need a method to get creation decoder fail status in PDM.
+ if (aDiagnostics) {
+
+ }
+
if (!mDecoder) {
mLastError = NS_ERROR_FAILURE;
return NS_ERROR_FAILURE;
}
return NS_OK;
}
nsresult