зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1861029 - set merge result to the codec support info and log result from the given location separately. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D192001
This commit is contained in:
Родитель
5b2e3e412c
Коммит
900d367030
|
@ -1640,8 +1640,12 @@ void ContentParent::BroadcastMediaCodecsSupportedUpdate(
|
|||
|
||||
// Generate + save support string for display in about:support
|
||||
nsCString supportString;
|
||||
media::MCSInfo::GetMediaCodecsSupportedString(supportString, aSupported);
|
||||
media::MCSInfo::GetMediaCodecsSupportedString(supportString, support);
|
||||
gfx::gfxVars::SetCodecSupportInfo(supportString);
|
||||
|
||||
// Print the support info only from the given location for debug purpose.
|
||||
supportString.Truncate();
|
||||
media::MCSInfo::GetMediaCodecsSupportedString(supportString, aSupported);
|
||||
supportString.ReplaceSubstring("\n"_ns, ", "_ns);
|
||||
LOGPDM("Broadcast support from '%s', support=%s",
|
||||
RemoteDecodeInToStr(aLocation), supportString.get());
|
||||
|
|
Загрузка…
Ссылка в новой задаче