Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1260)

Unified Diff: media/blink/key_system_config_selector.cc

Issue 2745613003: Add log when rejecting key system request without media capabilities. (Closed)
Patch Set: Remove bug number Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/key_system_config_selector.cc
diff --git a/media/blink/key_system_config_selector.cc b/media/blink/key_system_config_selector.cc
index 7f35733665dc0ca66199522aaf2d7ba146ac079a..5fcd5675bbc0a0218e8695e5cfb3c00ab8ae8cc2 100644
--- a/media/blink/key_system_config_selector.cc
+++ b/media/blink/key_system_config_selector.cc
@@ -652,6 +652,8 @@ KeySystemConfigSelector::GetSupportedConfiguration(
// configuration are both empty, return NotSupported.
if (candidate.videoCapabilities.isEmpty() &&
candidate.audioCapabilities.isEmpty()) {
+ DVLOG(2) << "Rejecting requested configuration because "
+ << "neither audioCapabilities nor videoCapabilities is specified";
return CONFIGURATION_NOT_SUPPORTED;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698